Enlightenment CVS committal

Author  : raster
Project : e17
Module  : libs/ecore

Dir     : e17/libs/ecore/src/lib/ecore_file


Modified Files:
        ecore_file_download.c 


Log Message:


build again if no curl there.

===================================================================
RCS file: /cvs/e/e17/libs/ecore/src/lib/ecore_file/ecore_file_download.c,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -3 -r1.19 -r1.20
--- ecore_file_download.c       9 Mar 2008 16:43:32 -0000       1.19
+++ ecore_file_download.c       11 Mar 2008 03:38:22 -0000      1.20
@@ -30,11 +30,10 @@
                                                   void *data);
 static int _ecore_file_download_curl_fd_handler(void *data, Ecore_Fd_Handler 
*fd_handler);
 
-static void _ecore_file_download_abort(Ecore_File_Download_Job *job);
-
 static int _ecore_file_download_url_complete_cb(void *data, int type, void 
*event);
 static int _ecore_file_download_url_progress_cb(void *data, int type, void 
*event);
 #endif
+static void _ecore_file_download_abort(Ecore_File_Download_Job *job);
 
 static int                      init = 0;
 static Ecore_Event_Handler     *_url_complete_handler = NULL;
@@ -234,7 +233,9 @@
 static void
 _ecore_file_download_abort(Ecore_File_Download_Job *job)
 {
+#ifdef HAVE_CURL
    ecore_con_url_destroy(job->url_con);
+#endif  
    fclose(job->file);
    free(job->dst);
    free(job);



-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to