aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/transfer.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/transfer.c b/lib/transfer.c
index bd6629916..f15d9a0f2 100644
--- a/lib/transfer.c
+++ b/lib/transfer.c
@@ -152,6 +152,7 @@ CURLcode Curl_fillreadbuffer(struct connectdata *conn, int bytes, int *nreadp)
else if((size_t)nread > buffersize) {
/* the read function returned a too large value */
*nreadp = 0;
+ failf(data, "read function returned funny value");
return CURLE_READ_ERROR;
}