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:
parent
253f5f1a9a
commit
9eb6fc1fb6
@ -428,6 +428,8 @@ int Curl_read(struct connectdata *conn,
|
||||
#endif
|
||||
return -1;
|
||||
}
|
||||
else
|
||||
conn->sockerror = 0; /* no error */
|
||||
|
||||
#ifdef USE_SSLEAY
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user