diff options
author | Daniel Stenberg <daniel@haxx.se> | 2014-03-14 15:44:18 +0100 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2014-03-14 15:44:18 +0100 |
commit | 891ef341b329ab01f27d2375157de662ec1eb9b8 (patch) | |
tree | c5f55f84863ead43d06d9a1ea868f2149ce3bc2f /lib/transfer.c | |
parent | 2465ee757384855dce2b1787a9636141f3199c2a (diff) |
chunked-encoding: provide a readable error string for chunked errors
Diffstat (limited to 'lib/transfer.c')
-rw-r--r-- | lib/transfer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/transfer.c b/lib/transfer.c index ccaee8373..3fcc6003e 100644 --- a/lib/transfer.c +++ b/lib/transfer.c @@ -611,7 +611,7 @@ static CURLcode readwrite_data(struct SessionHandle *data, failf(data, "Failed writing data"); return CURLE_WRITE_ERROR; } - failf(data, "Problem (%d) in the Chunked-Encoded data", (int)res); + failf(data, "%s in chunked-encoding", Curl_chunked_strerror(res)); return CURLE_RECV_ERROR; } else if(CHUNKE_STOP == res) { |