[Pkg-e-commits] [SCM] Core abstraction layer for enlightenment DR 0.17 branch, upstream-vcs, updated. 17066e277fc229c9ca06f46287cf52d5ee7ae37f
raster
raster at alioth.debian.org
Sat Mar 15 18:25:11 UTC 2008
The following commit has been merged in the upstream-vcs branch:
commit bcbc52b41b6432ecd130218bf08be76f859640d6
Author: raster <raster>
Date: Tue Mar 11 03:38:22 2008 +0000
build again if no curl there.
diff --git a/src/lib/ecore_file/ecore_file_download.c b/src/lib/ecore_file/ecore_file_download.c
index bda540f..69cb164 100644
--- a/src/lib/ecore_file/ecore_file_download.c
+++ b/src/lib/ecore_file/ecore_file_download.c
@@ -30,11 +30,10 @@ Ecore_File_Download_Job *_ecore_file_download_curl(const char *url, const char *
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 @@ _ecore_file_download_url_progress_cb(void *data, int type, void *event)
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);
--
Core abstraction layer for enlightenment DR 0.17
More information about the Pkg-e-commits
mailing list