diff options
author | Daniel Stenberg <daniel@haxx.se> | 2014-01-02 23:24:26 +0100 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2014-01-03 14:09:59 +0100 |
commit | bf24b64e835d8f8c9e5da8136fec9b4f251837b8 (patch) | |
tree | 352c4f6065beffc656ee85db65f493eab3e27dfb /docs/examples/ftpsget.c | |
parent | d28b70d1521a924e1c8e8267e61b6b948fbfd4e8 (diff) |
progresscallback: make CURLE_ABORTED_BY_CALLBACK get returned better
When the progress callback returned 1 at a very early state, the code
would not make CURLE_ABORTED_BY_CALLBACK get returned but the process
would still be interrupted. In the HTTP case, this would then cause a
CURLE_GOT_NOTHING to erroneously get returned instead.
Reported-by: Petr Novak
Bug: http://curl.haxx.se/bug/view.cgi?id=1318
Diffstat (limited to 'docs/examples/ftpsget.c')
0 files changed, 0 insertions, 0 deletions