aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/transfer.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/lib/transfer.c b/lib/transfer.c
index 960339e80..ba83a26b0 100644
--- a/lib/transfer.c
+++ b/lib/transfer.c
@@ -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;
}