From: Daniel Stenberg Date: Mon, 2 Feb 2004 14:49:10 +0000 (+0000) Subject: clear the sockerror if no error was returned X-Git-Tag: curl-7_11_1~453 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9eb6fc1fb6442644d7284a6d095f5bb9f0296840;p=thirdparty%2Fcurl.git clear the sockerror if no error was returned --- diff --git a/lib/sendf.c b/lib/sendf.c index c9eb62f5fd..68bb21bed9 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 }