From 848c104639f6463131bf3f03dc23e3e772196018 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Tue, 7 May 2024 16:25:37 +0200 Subject: [PATCH] lib: remove two instances of "only only" messages Fixes #13551 Reported-by: Lucas Nussbaum Closes #13552 --- lib/mime.c | 2 +- lib/sendf.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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; -- 2.47.3