forked from enlightenment/efl
fix the return value of the progress callback
SVN revision: 56345
This commit is contained in:
parent
58ff455b69
commit
ea92bb126d
|
@ -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
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue