Skip to content
Snippets Groups Projects
Commit 9eb6fc1f authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

clear the sockerror if no error was returned

parent 253f5f1a
No related branches found
No related tags found
No related merge requests found
......@@ -428,6 +428,8 @@ int Curl_read(struct connectdata *conn,
#endif
return -1;
}
else
conn->sockerror = 0; /* no error */
#ifdef USE_SSLEAY
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment