1
0
Fork 0
mirror of https://github.com/warmcat/libwebsockets.git synced 2025-03-09 00:00:04 +01:00

noserver: set tag_prefix for SERVER

This commit is contained in:
Andy Green 2021-01-07 19:15:43 +00:00
parent 780a165a76
commit 77055c4fd7

View file

@ -652,10 +652,8 @@ lws_create_context(const struct lws_context_creation_info *info)
#if defined(LWS_WITH_NETWORK)
context->lcg[LWSLCG_WSI].tag_prefix = "wsi";
context->lcg[LWSLCG_VHOST].tag_prefix = "vh";
context->lcg[LWSLCG_WSI_SERVER].tag_prefix = "wsisrv"; /* adopted */
#if defined(LWS_WITH_SERVER)
context->lcg[LWSLCG_WSI_SERVER].tag_prefix = "wsisrv";
#endif
#if defined(LWS_WITH_CLIENT)
context->lcg[LWSLCG_WSI_CLIENT].tag_prefix = "wsicli";
#endif