diff options
author | Rikard Falkeborn <rikard.falkeborn@gmail.com> | 2018-05-28 21:46:22 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2018-05-31 11:34:32 +0200 |
commit | 8ea5d41fe0167802c74a049e8409a85fb68083be (patch) | |
tree | 5fc7fc8fe2d5ecbce37bc2031e0f1af638155f63 /lib/http.c | |
parent | 946ce5b61fc3832935ea92b4388116c7f637fb8c (diff) |
strictness: correct {infof, failf} format specifiers
Closes #2623
Diffstat (limited to 'lib/http.c')
-rw-r--r-- | lib/http.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |