aboutsummaryrefslogtreecommitdiff
path: root/lib/sendf.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2004-01-30 12:08:18 +0000
committerDaniel Stenberg <daniel@haxx.se>2004-01-30 12:08:18 +0000
commitdf750c236c1ffb46d7aa1aade689626f6792b053 (patch)
tree099312e8e1376016fa5abe5e2de7337e3d3946b2 /lib/sendf.c
parent154c9bc3b88703316b1ff5c6c2230b41718d6c43 (diff)
Somewhat crude attempt at fixing the test 91 failures. I commit this now
so that the automatic testing hosts will test these changes over the weekend.
Diffstat (limited to 'lib/sendf.c')
-rw-r--r--lib/sendf.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/sendf.c b/lib/sendf.c
index fe3cbb422..c9eb62f5f 100644
--- a/lib/sendf.c
+++ b/lib/sendf.c
@@ -420,6 +420,7 @@ int Curl_read(struct connectdata *conn,
if(-1 == nread) {
int err = Curl_ourerrno();
+ conn->sockerror = err;
#ifdef WIN32
if(WSAEWOULDBLOCK == err)
#else