]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
lib: remove two instances of "only only" messages
authorDaniel Stenberg <daniel@haxx.se>
Tue, 7 May 2024 14:25:37 +0000 (16:25 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Tue, 7 May 2024 22:03:38 +0000 (00:03 +0200)
Fixes #13551
Reported-by: Lucas Nussbaum
Closes #13552

lib/mime.c
lib/sendf.c

index 9a9eb30dc3d9dbff9540f0c4993056ac5ef362b3..a2356c473869615bc99713ebe64b21a269ab529d 100644 (file)
@@ -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;
index 847dfea4b538da6b6380018e59fa15f94904c65c..68a8bf3b6ab6ee326f0b798b37033013058c0f40 100644 (file)
@@ -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;