From: davemds Date: Fri, 28 Jan 2011 18:44:10 +0000 (+0000) Subject: fix the return value of the progress callback X-Git-Tag: accepted/2.0/20130306.224007~195^2~250 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=68742c51e94a96b75008ba97d3ee73bcffd575e4;p=profile%2Fivi%2Fecore.git fix the return value of the progress callback git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@56345 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- diff --git a/examples/ecore_file_download_example.c b/examples/ecore_file_download_example.c index bbfdbc2..3da2474 100644 --- a/examples/ecore_file_download_example.c +++ b/examples/ecore_file_download_example.c @@ -28,7 +28,7 @@ progress_cb(void *data, const char *file, long int ultotal, long int ulnow) { printf("Progress: %ld/%ld\n", dlnow, dltotal); - return ECORE_CALLBACK_RENEW; + return 0; // 0 to continue the download, or 1 to abort }