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
1 changed files with 2 additions and 0 deletions

View File

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