diff options
author | Daniel Stenberg <daniel@haxx.se> | 2010-06-19 00:18:14 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2010-06-19 00:18:14 +0200 |
commit | 1b15b31c8631a4a271f15c4261331dcebec9ba47 (patch) | |
tree | fe80459c08d08a23ca6bcef0c2238016ecf95910 /COPYING | |
parent | e6d85923c1e9d4a9b76b67a4b31f0815e051b071 (diff) |
sendrecv: treat all negative values from send/recv as errors
For example the libssh2 based functions return other negative
values than -1 to signal errors and it is important that we catch
them properly. Right before this, various failures from libssh2
were treated as negative download amounts which caused havoc.
Diffstat (limited to 'COPYING')
0 files changed, 0 insertions, 0 deletions