aboutsummaryrefslogtreecommitdiff
path: root/lib/sendf.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/sendf.c')
-rw-r--r--lib/sendf.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/sendf.c b/lib/sendf.c
index c9eb62f5f..68bb21bed 100644
--- a/lib/sendf.c
+++ b/lib/sendf.c
@@ -428,6 +428,8 @@ int Curl_read(struct connectdata *conn,
#endif
return -1;
}
+ else
+ conn->sockerror = 0; /* no error */
#ifdef USE_SSLEAY
}