diff options
author | Daniel Stenberg <daniel@haxx.se> | 2004-02-02 14:49:10 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2004-02-02 14:49:10 +0000 |
commit | 9eb6fc1fb6442644d7284a6d095f5bb9f0296840 (patch) | |
tree | b1f7cdfbbfdcb88105068c31006c953c87fae3ae /lib/sendf.c | |
parent | 253f5f1a9a976a0f9bd1dff16900404ca02e332f (diff) | |
download | curl-9eb6fc1fb6442644d7284a6d095f5bb9f0296840.tar.gz |
clear the sockerror if no error was returned
Diffstat (limited to 'lib/sendf.c')
-rw-r--r-- | lib/sendf.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/sendf.c b/lib/sendf.c index c9eb62f5f..68bb21bed 100644 --- a/lib/sendf.c +++ b/lib/sendf.c @@ -428,6 +428,8 @@ int Curl_read(struct connectdata *conn, #endif return -1; } + else + conn->sockerror = 0; /* no error */ #ifdef USE_SSLEAY } |