mirror of
https://github.com/curl/curl.git
synced 2026-07-28 15:23:11 +03:00
clear the sockerror if no error was returned
This commit is contained in:
parent
253f5f1a9a
commit
9eb6fc1fb6
1 changed files with 2 additions and 0 deletions
|
|
@ -428,6 +428,8 @@ int Curl_read(struct connectdata *conn,
|
|||
#endif
|
||||
return -1;
|
||||
}
|
||||
else
|
||||
conn->sockerror = 0; /* no error */
|
||||
|
||||
#ifdef USE_SSLEAY
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue