From: Daniel Stenberg Date: Tue, 7 May 2024 14:25:37 +0000 (+0200) Subject: lib: remove two instances of "only only" messages X-Git-Tag: curl-8_8_0~115 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=848c104639f6463131bf3f03dc23e3e772196018;p=thirdparty%2Fcurl.git lib: remove two instances of "only only" messages Fixes #13551 Reported-by: Lucas Nussbaum Closes #13552 --- diff --git a/lib/mime.c b/lib/mime.c index 9a9eb30dc3..a2356c4738 100644 --- a/lib/mime.c +++ b/lib/mime.c @@ -1970,7 +1970,7 @@ static CURLcode cr_mime_read(struct Curl_easy *data, switch(nread) { case 0: if((ctx->total_len >= 0) && (ctx->read_len < ctx->total_len)) { - failf(data, "client mime read EOF fail, only " + failf(data, "client mime read EOF fail, " "only %"CURL_FORMAT_CURL_OFF_T"/%"CURL_FORMAT_CURL_OFF_T " of needed bytes read", ctx->read_len, ctx->total_len); return CURLE_READ_ERROR; diff --git a/lib/sendf.c b/lib/sendf.c index 847dfea4b5..68a8bf3b6a 100644 --- a/lib/sendf.c +++ b/lib/sendf.c @@ -667,7 +667,7 @@ static CURLcode cr_in_read(struct Curl_easy *data, switch(nread) { case 0: if((ctx->total_len >= 0) && (ctx->read_len < ctx->total_len)) { - failf(data, "client read function EOF fail, only " + failf(data, "client read function EOF fail, " "only %"CURL_FORMAT_CURL_OFF_T"/%"CURL_FORMAT_CURL_OFF_T " of needed bytes read", ctx->read_len, ctx->total_len); return CURLE_READ_ERROR;