mirror of
https://github.com/warmcat/libwebsockets.git
synced 2025-03-09 00:00:04 +01:00
coverity: 62211: use lws_protocol_init retcode in context init
This commit is contained in:
parent
6b09e5f8f7
commit
acf42bec9d
1 changed files with 1 additions and 2 deletions
|
@ -214,9 +214,8 @@ lws_state_notify_protocol_init(struct lws_state_manager *mgr,
|
|||
return 0;
|
||||
|
||||
lwsl_info("%s: doing protocol init on POLICY_VALID\n", __func__);
|
||||
lws_protocol_init(context);
|
||||
|
||||
return 0;
|
||||
return lws_protocol_init(context);
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
Loading…
Add table
Reference in a new issue