* fix compilation when curl is not available
authorcaro <caro@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Tue, 25 Aug 2009 06:45:35 +0000 (06:45 +0000)
committercaro <caro@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Tue, 25 Aug 2009 06:45:35 +0000 (06:45 +0000)
 * small formatting

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@41968 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

src/lib/ecore_con/ecore_con_url.c

index 1a70394..9881562 100644 (file)
@@ -593,8 +593,9 @@ ecore_con_url_received_bytes_get(Ecore_Con_Url *url_con)
      }
 
    return url_con->received;
-#endif
+#else
    return 0;
+#endif
 }
 
 /**
@@ -613,7 +614,11 @@ ecore_con_url_received_bytes_get(Ecore_Con_Url *url_con)
 EAPI const Eina_List *
 ecore_con_url_response_headers_get(Ecore_Con_Url *url_con)
 {
+#ifdef HAVE_CURL
    return url_con->response_headers;
+#else
+   return NULL;
+#endif
 }
 
 /**