aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2003-01-21 16:03:38 +0000
committerDaniel Stenberg <daniel@haxx.se>2003-01-21 16:03:38 +0000
commitdee3163d95a81723388c6f6d655dd9b8b0d1439d (patch)
tree02edfb90e7e06d87d6f20977dfe6f408dcac5700
parent8b0668b99e890174d33898fa1413b1d2d2f52e88 (diff)
when a chunked error is noticed, store the error number in the error string
to enable better error-tracking
-rw-r--r--lib/transfer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/transfer.c b/lib/transfer.c
index 1e3fafc8d..b860805c6 100644
--- a/lib/transfer.c
+++ b/lib/transfer.c
@@ -831,7 +831,7 @@ CURLcode Curl_readwrite(struct connectdata *conn,
failf(data, "Failed writing data");
return CURLE_WRITE_ERROR;
}
- failf(data, "Received problem in the chunky parser");
+ failf(data, "Received problem %d in the chunky parser", res);
return CURLE_RECV_ERROR;
}
else if(CHUNKE_STOP == res) {