mirror of
https://github.com/curl/curl.git
synced 2025-01-24 14:15:18 +08:00
ws: remove bad assert
Reported-by: Stanley Wucw Fixes #10347 Closes #10366
This commit is contained in:
parent
fc10d86011
commit
097544959a
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…
Reference in New Issue
Block a user