From 8ea5d41fe0167802c74a049e8409a85fb68083be Mon Sep 17 00:00:00 2001 From: Rikard Falkeborn Date: Mon, 28 May 2018 21:46:22 +0200 Subject: strictness: correct {infof, failf} format specifiers Closes #2623 --- lib/http.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/http.c') diff --git a/lib/http.c b/lib/http.c index 0bcdf194d..488f8aa5e 100644 --- a/lib/http.c +++ b/lib/http.c @@ -2992,7 +2992,7 @@ static CURLcode header_append(struct Curl_easy *data, /* The reason to have a max limit for this is to avoid the risk of a bad server feeding libcurl with a never-ending header that will cause reallocs infinitely */ - failf(data, "Rejected %zd bytes header (max is %d)!", newsize, + failf(data, "Rejected %zu bytes header (max is %d)!", newsize, CURL_MAX_HTTP_HEADER); return CURLE_OUT_OF_MEMORY; } -- cgit v1.2.3