aboutsummaryrefslogtreecommitdiff
path: root/docs/examples/fileupload.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2010-06-19 00:18:14 +0200
committerDaniel Stenberg <daniel@haxx.se>2010-06-19 00:18:14 +0200
commit1b15b31c8631a4a271f15c4261331dcebec9ba47 (patch)
treefe80459c08d08a23ca6bcef0c2238016ecf95910 /docs/examples/fileupload.c
parente6d85923c1e9d4a9b76b67a4b31f0815e051b071 (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 'docs/examples/fileupload.c')
0 files changed, 0 insertions, 0 deletions