diff options
Diffstat (limited to 'lib/sendf.c')
-rw-r--r-- | lib/sendf.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/sendf.c b/lib/sendf.c index 79f8d51fb..896e42c68 100644 --- a/lib/sendf.c +++ b/lib/sendf.c @@ -417,7 +417,6 @@ int Curl_read(struct connectdata *conn, /* connection data */ if(-1 == nread) { int err = Curl_ourerrno(); - conn->sockerror = err; #ifdef WIN32 if(WSAEWOULDBLOCK == err) #else @@ -425,8 +424,6 @@ int Curl_read(struct connectdata *conn, /* connection data */ #endif return -1; } - else - conn->sockerror = 0; /* no error */ #ifdef USE_SSLEAY } |