fix the return value of the progress callback

SVN revision: 56345
This commit is contained in:
Davide Andreoli 2011-01-28 18:44:10 +00:00
parent 58ff455b69
commit ea92bb126d
1 changed files with 1 additions and 1 deletions

View File

@ -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
}