mirror of
https://github.com/warmcat/libwebsockets.git
synced 2025-03-09 00:00:04 +01:00
coverity: 62319: coverity thinks we must always check blob size
This commit is contained in:
parent
d3d8b3a74c
commit
260bd38d56
1 changed files with 2 additions and 0 deletions
|
@ -220,6 +220,8 @@ ss_api_amazon_auth_state(void *userobj, void *sh, lws_ss_constate_t state,
|
|||
/* fallthru */
|
||||
case LWSSSCS_CONNECTING:
|
||||
s = lws_system_blob_get_size(ab);
|
||||
if (!s)
|
||||
lwsl_debug("%s: no auth blob\n", __func__);
|
||||
lws_ss_request_tx_len(m->ss, (unsigned long)s);
|
||||
m->pos = 0;
|
||||
break;
|
||||
|
|
Loading…
Add table
Reference in a new issue