mirror of
https://github.com/curl/curl.git
synced 2026-04-19 22:41:14 +03:00
sendf: improve the message on client write errors
Replace "Failed writing body (X != Y)" with "Failure writing output to destination". Possibly slightly less cryptic. Reported-by: coinhubs on github Fixes #5594 Closes #5596
This commit is contained in:
parent
7fb33ee871
commit
550bcdd442
1 changed files with 1 additions and 1 deletions
|
|
@ -593,7 +593,7 @@ static CURLcode chop_write(struct connectdata *conn,
|
|||
return pausewrite(data, type, ptr, len);
|
||||
}
|
||||
if(wrote != chunklen) {
|
||||
failf(data, "Failed writing body (%zu != %zu)", wrote, chunklen);
|
||||
failf(data, "Failure writing output to destination");
|
||||
return CURLE_WRITE_ERROR;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue