]> granicus.if.org Git - curl/commitdiff
me stupid, errno is not set for mere select()-exceptions
authorDaniel Stenberg <daniel@haxx.se>
Tue, 10 May 2005 22:48:26 +0000 (22:48 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Tue, 10 May 2005 22:48:26 +0000 (22:48 +0000)
lib/transfer.c

index 960339e802ef58ab1094147b56c0c9301f92c009..ba83a26b08a122d7984d4ca8e22fad4696334abb 100644 (file)
 #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;
   }