mirror of
https://github.com/curl/curl.git
synced 2026-07-25 14:47:26 +03:00
ws: remove bad assert
Reported-by: Stanley Wucw Fixes #10347 Closes #10366
This commit is contained in:
parent
fc10d86011
commit
097544959a
1 changed files with 0 additions and 1 deletions
1
lib/ws.c
1
lib/ws.c
|
|
@ -479,7 +479,6 @@ CURL_EXTERN CURLcode curl_ws_recv(struct Curl_easy *data, void *buffer,
|
|||
|
||||
/* update buffer and frame info */
|
||||
wsp->frame.offset += datalen;
|
||||
DEBUGASSERT(wsp->frame.bytesleft >= (curl_off_t)datalen);
|
||||
if(wsp->frame.bytesleft)
|
||||
wsp->frame.bytesleft -= datalen;
|
||||
DEBUGASSERT(datalen <= wsp->stillblen);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue