mirror of
https://github.com/warmcat/libwebsockets.git
synced 2025-03-09 00:00:04 +01:00
http2: missing return when openssl too old
This commit is contained in:
parent
af8f2d3616
commit
4a2dd2bdaa
2 changed files with 3 additions and 2 deletions
|
@ -129,6 +129,8 @@ lws_h2_state(struct lws *wsi, enum lws_h2_states s)
|
|||
lwsl_info("%s: wsi %p: state %s -> %s\n", __func__, wsi,
|
||||
h2_state_names[wsi->u.h2.h2_state],
|
||||
h2_state_names[s]);
|
||||
|
||||
(void)h2_state_names;
|
||||
wsi->u.h2.h2_state = (uint8_t)s;
|
||||
}
|
||||
|
||||
|
|
|
@ -147,9 +147,8 @@ int lws_h2_configure_if_upgraded(struct lws *wsi)
|
|||
wsi->u.h2.tx_cr = 65535;
|
||||
|
||||
lwsl_info("%s: wsi %p: configured for h2\n", __func__, wsi);
|
||||
|
||||
return 0;
|
||||
#endif
|
||||
return 0;
|
||||
}
|
||||
#endif
|
||||
#endif
|
||||
|
|
Loading…
Add table
Reference in a new issue