From ea92bb126d855f67a4ee36a4a61753a14a4d09aa Mon Sep 17 00:00:00 2001 From: Davide Andreoli Date: Fri, 28 Jan 2011 18:44:10 +0000 Subject: [PATCH] fix the return value of the progress callback SVN revision: 56345 --- legacy/ecore/examples/ecore_file_download_example.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/legacy/ecore/examples/ecore_file_download_example.c b/legacy/ecore/examples/ecore_file_download_example.c index bbfdbc2ebd..3da247466a 100644 --- a/legacy/ecore/examples/ecore_file_download_example.c +++ b/legacy/ecore/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 }