define ecore_file_dowbload_abort when ecore_con is not available

(that is : it does nothing :)

SVN revision: 43916
This commit is contained in:
Vincent Torri 2009-11-23 09:05:02 +00:00
parent 84077e2f18
commit 9cc34d070a
1 changed files with 3 additions and 1 deletions

View File

@ -286,10 +286,12 @@ _ecore_file_download_curl(const char *url, const char *dst,
return job;
}
# endif
#endif
EAPI void
ecore_file_download_abort(Ecore_File_Download_Job *job)
{
#ifdef BUILD_ECORE_CON
# ifdef HAVE_CURL
ecore_con_url_destroy(job->url_con);
# endif
@ -297,5 +299,5 @@ ecore_file_download_abort(Ecore_File_Download_Job *job)
fclose(job->file);
free(job->dst);
free(job);
}
#endif /* BUILD_ECORE_CON */
}