mirror of
https://github.com/curl/curl.git
synced 2026-06-04 01:24:16 +03:00
vtls: fix failf() format argument type for %.*s handling
Reported by Coverity Closes #10422
This commit is contained in:
parent
b0b33fe71d
commit
82123417ff
1 changed files with 1 additions and 1 deletions
|
|
@ -2022,7 +2022,7 @@ CURLcode Curl_alpn_set_negotiated(struct Curl_cfilter *cf,
|
|||
#endif
|
||||
else {
|
||||
cf->conn->alpn = CURL_HTTP_VERSION_NONE;
|
||||
failf(data, "unsupported ALPN protocol: '%.*s'", proto_len, proto);
|
||||
failf(data, "unsupported ALPN protocol: '%.*s'", (int)proto_len, proto);
|
||||
/* TODO: do we want to fail this? Previous code just ignored it and
|
||||
* some vtls backends even ignore the return code of this function. */
|
||||
/* return CURLE_NOT_BUILT_IN; */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue