mirror of
https://github.com/curl/curl.git
synced 2026-07-29 00:03:12 +03:00
ws: fix an infof() call to use %uz for size_t output
Detected by Coverity, CID 1514665. Closes #9480
This commit is contained in:
parent
e5839f4ee7
commit
e5e9e0c5e4
1 changed files with 1 additions and 1 deletions
2
lib/ws.c
2
lib/ws.c
|
|
@ -293,7 +293,7 @@ static CURLcode ws_decode(struct Curl_easy *data,
|
||||||
*olen = payloadssize;
|
*olen = payloadssize;
|
||||||
wsp->usedbuf = total; /* number of bytes "used" from the buffer */
|
wsp->usedbuf = total; /* number of bytes "used" from the buffer */
|
||||||
*endp = &p[total];
|
*endp = &p[total];
|
||||||
infof(data, "WS: received %u bytes payload", payloadssize);
|
infof(data, "WS: received %uz bytes payload", payloadssize);
|
||||||
return CURLE_OK;
|
return CURLE_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue