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
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…
Reference in New Issue
Block a user