aboutsummaryrefslogtreecommitdiff
path: root/lib/socks_gssapi.c
diff options
context:
space:
mode:
authorRikard Falkeborn <rikard.falkeborn@gmail.com>2020-11-23 22:42:07 +0100
committerDaniel Stenberg <daniel@haxx.se>2020-11-24 13:18:41 +0100
commit920f49a20be51170ec1804f2736ea3e2593cdbe5 (patch)
tree2763cccabd025becc428bcb90b6690a98281978d /lib/socks_gssapi.c
parent020aa0131bfa733b2a4bd62a010389f9871832df (diff)
downloadgnurl-920f49a20be51170ec1804f2736ea3e2593cdbe5.tar.gz
gnurl-920f49a20be51170ec1804f2736ea3e2593cdbe5.tar.bz2
gnurl-920f49a20be51170ec1804f2736ea3e2593cdbe5.zip
infof/failf calls: fix format specifiers
Update a few format specifiers to match what is being printed. Closes #6241
Diffstat (limited to 'lib/socks_gssapi.c')
-rw-r--r--lib/socks_gssapi.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/socks_gssapi.c b/lib/socks_gssapi.c
index 9818a3466..a96579692 100644
--- a/lib/socks_gssapi.c
+++ b/lib/socks_gssapi.c
@@ -493,7 +493,7 @@ CURLcode Curl_SOCKS5_gssapi_negotiate(int sockindex,
gss_release_buffer(&gss_status, &gss_recv_token);
if(gss_w_token.length != 1) {
- failf(data, "Invalid GSS-API encryption response length (%d).",
+ failf(data, "Invalid GSS-API encryption response length (%zu).",
gss_w_token.length);
gss_release_buffer(&gss_status, &gss_w_token);
gss_delete_sec_context(&gss_status, &gss_context, NULL);
@@ -505,7 +505,7 @@ CURLcode Curl_SOCKS5_gssapi_negotiate(int sockindex,
}
else {
if(gss_recv_token.length != 1) {
- failf(data, "Invalid GSS-API encryption response length (%d).",
+ failf(data, "Invalid GSS-API encryption response length (%zu).",
gss_recv_token.length);
gss_release_buffer(&gss_status, &gss_recv_token);
gss_delete_sec_context(&gss_status, &gss_context, NULL);