ecore: fix ecore_con_url_ftp_upload to upload all the file.

SVN revision: 58036
This commit is contained in:
Cedric BAIL 2011-03-23 17:28:21 +00:00
parent 5842ce6070
commit 84c7aaa3c8
2 changed files with 5 additions and 1 deletions

View File

@ -95,3 +95,7 @@
windows correctly, expecting a feed-back event from x, which it didn't
get.
2011-03-23 Elixirious
* Fix: ecore_con_url_ftp_upload upload the file until the end.

View File

@ -1634,7 +1634,7 @@ _ecore_con_url_read_cb(void *ptr,
fclose(stream);
return CURL_READFUNC_ABORT;
}
else if ((retcode == 0) || (retcode < nitems))
else if (retcode == 0)
{
fclose((FILE *)stream);
return 0;