coverity 182069: coverity confused by use of bool as array index
This commit is contained in:
parent
c6233ce403
commit
4a9c23e9ec
1 changed files with 1 additions and 1 deletions
|
@ -474,7 +474,7 @@ callback_generic_sessions(struct lws *wsi, enum lws_callback_reasons reason,
|
|||
WSI_TOKEN_HOST) < 0)
|
||||
return 1;
|
||||
lws_snprintf(pss->onward, sizeof(pss->onward) - 1,
|
||||
"%s%s%s", oprot[lws_is_ssl(wsi)],
|
||||
"%s%s%s", oprot[!!lws_is_ssl(wsi)],
|
||||
cookie, args->p);
|
||||
lwsl_notice("redirecting to ourselves with cookie refresh\n");
|
||||
/* we need a redirect to ourselves, session cookie is expired */
|
||||
|
|
Loading…
Add table
Reference in a new issue