1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-21 23:58:49 -05:00

clear the sockerror if no error was returned

This commit is contained in:
Daniel Stenberg 2004-02-02 14:49:10 +00:00
parent 253f5f1a9a
commit 9eb6fc1fb6

View File

@ -428,6 +428,8 @@ int Curl_read(struct connectdata *conn,
#endif
return -1;
}
else
conn->sockerror = 0; /* no error */
#ifdef USE_SSLEAY
}