]> granicus.if.org Git - curl/commitdiff
when a chunked error is noticed, store the error number in the error string
authorDaniel Stenberg <daniel@haxx.se>
Tue, 21 Jan 2003 16:03:38 +0000 (16:03 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Tue, 21 Jan 2003 16:03:38 +0000 (16:03 +0000)
to enable better error-tracking

lib/transfer.c

index 1e3fafc8d29f9597f1eca760427560892040b892..b860805c6bfe6ce76a3ba6a2e977ebf4a8c56f5c 100644 (file)
@@ -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) {