socks: fix infof() flag for outputing a char
It used to be a 'long', %lu is no longer correct.
Follow-up to 57d2d9b6be
Detected by Coverity CID 1517663
Closes #10100
This commit is contained in:
parent
50750d097a
commit
50e781d3ec
@ -546,7 +546,7 @@ static CURLproxycode do_SOCKS5(struct Curl_cfilter *cf,
|
||||
|
||||
if(auth & ~(CURLAUTH_BASIC | CURLAUTH_GSSAPI))
|
||||
infof(data,
|
||||
"warning: unsupported value passed to CURLOPT_SOCKS5_AUTH: %lu",
|
||||
"warning: unsupported value passed to CURLOPT_SOCKS5_AUTH: %u",
|
||||
auth);
|
||||
if(!(auth & CURLAUTH_BASIC))
|
||||
/* disable username/password auth */
|
||||
|
||||
Loading…
Reference in New Issue
Block a user