mirror of
https://github.com/warmcat/libwebsockets.git
synced 2025-03-09 00:00:04 +01:00
pmd: create_context: warn if info.extensions non-NULL if built without EXTENSIONS
This commit is contained in:
parent
bca993f7ed
commit
de8bb9ade7
1 changed files with 4 additions and 0 deletions
|
@ -243,6 +243,10 @@ lws_create_context(const struct lws_context_creation_info *info)
|
|||
context->detailed_latency_filepath = info->detailed_latency_filepath;
|
||||
context->latencies_fd = -1;
|
||||
#endif
|
||||
#if defined(LWS_WITHOUT_EXTENSIONS)
|
||||
if (info->extensions)
|
||||
lwsl_warn("%s: LWS_WITHOUT_EXTENSIONS but extensions ptr set\n", __func__);
|
||||
#endif
|
||||
#endif
|
||||
|
||||
/* if he gave us names, set the uid / gid */
|
||||
|
|
Loading…
Add table
Reference in a new issue