mirror of
https://github.com/warmcat/libwebsockets.git
synced 2025-03-09 00:00:04 +01:00
COVA10821: check lws_change_pollfd
This commit is contained in:
parent
049c898aad
commit
93df14454c
1 changed files with 2 additions and 1 deletions
|
@ -1164,7 +1164,8 @@ lws_http_client_read(struct lws *wsi, char **buf, int *len)
|
|||
// lwsl_notice("%s: rlen %d\n", __func__, rlen);
|
||||
|
||||
/* allow the source to signal he has data again next time */
|
||||
lws_change_pollfd(wsi, 0, LWS_POLLIN);
|
||||
if (lws_change_pollfd(wsi, 0, LWS_POLLIN))
|
||||
return -1;
|
||||
|
||||
if (rlen == LWS_SSL_CAPABLE_ERROR) {
|
||||
lwsl_debug("%s: SSL capable error\n", __func__);
|
||||
|
|
Loading…
Add table
Reference in a new issue