From dee3163d95a81723388c6f6d655dd9b8b0d1439d Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Tue, 21 Jan 2003 16:03:38 +0000 Subject: when a chunked error is noticed, store the error number in the error string to enable better error-tracking --- lib/transfer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/transfer.c') 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) { -- cgit v1.2.3