Update src/tool_writeout.c

Co-authored-by: Daniel Stenberg <daniel@haxx.se>
This commit is contained in:
claudex 2026-07-29 20:55:33 +02:00 committed by GitHub
parent d03d703868
commit 1c3f0c194e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -439,8 +439,7 @@ static int writeOffset(FILE *stream, const struct writeoutvar *wovar,
curl_mfprintf(stream, "%" CURL_FORMAT_CURL_OFF_T, offinfo);
break;
case FILTER_BYTES_PRETTY:
curl_mfprintf(stream, "%s",
max5data(offinfo, prettyOff, sizeof(prettyOff)));
fputs(max5data(offinfo, prettyOff, sizeof(prettyOff)), stream);
break;
default:
curl_mfprintf(stream, "%" CURL_FORMAT_CURL_OFF_T ":%s", offinfo,