mirror of
https://github.com/curl/curl.git
synced 2026-08-25 00:33:31 +03:00
fixes
This commit is contained in:
parent
5d7215bb36
commit
d498dba2e8
6 changed files with 20 additions and 20 deletions
|
|
@ -37,13 +37,13 @@ static CURLcode test_ws_data_m2_check_recv(const struct curl_ws_frame *frame,
|
|||
if(frame->flags & CURLWS_CLOSE) {
|
||||
curl_mfprintf(stderr, "recv_data: unexpected CLOSE frame from server, "
|
||||
"got %zu bytes, offset=%zu, rflags %x\n",
|
||||
nread, r_offset, frame->flags);
|
||||
nread, r_offset, (unsigned int)frame->flags);
|
||||
return CURLE_RECV_ERROR;
|
||||
}
|
||||
if(!r_offset && !(frame->flags & CURLWS_BINARY)) {
|
||||
curl_mfprintf(stderr, "recv_data: wrong frame, got %zu bytes, offset=%zu, "
|
||||
"rflags %x\n",
|
||||
nread, r_offset, frame->flags);
|
||||
nread, r_offset, (unsigned int)frame->flags);
|
||||
return CURLE_RECV_ERROR;
|
||||
}
|
||||
if(frame->offset != (curl_off_t)r_offset) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue