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

me stupid, errno is not set for mere select()-exceptions

parent cc8e8db1
No related branches found
No related tags found
No related merge requests found
......@@ -101,8 +101,6 @@
#include "share.h"
#include "memory.h"
#include "select.h"
#include "strerror.h"
#include "connect.h" /* for the Curl_ourerrno() proto */
#define _MPRINTF_REPLACE /* use our functions only */
#include <curl/mprintf.h>
......@@ -290,8 +288,7 @@ CURLcode Curl_readwrite(struct connectdata *conn,
select_res = Curl_select(fd_read, fd_write, 0);
if(select_res & CSELECT_ERR) {
failf(data, "select/poll returned error: %s",
Curl_strerror(conn, Curl_ourerrno()));
failf(data, "select/poll returned error");
return CURLE_SEND_ERROR;
}
......
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