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:
parent
780a165a76
commit
77055c4fd7
1 changed files with 1 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue