diff options
-rw-r--r-- | lib/sendf.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/sendf.c b/lib/sendf.c index 7d0f71de1..43163e61f 100644 --- a/lib/sendf.c +++ b/lib/sendf.c @@ -308,6 +308,9 @@ CURLcode Curl_write(struct connectdata *conn, ) /* this is just a case of EWOULDBLOCK */ bytes_written=0; + else + failf(conn->data, "Send failure: %s", + Curl_strerror(conn, err)); } #ifdef USE_SSLEAY } |