mirror of
https://github.com/warmcat/libwebsockets.git
synced 2025-03-09 00:00:04 +01:00
build options: fix SOCKS5 and WITHOUT_CLIENT
If LWS is build with SOCKS5 support, but WITHOUT_CLIENT then a compile failure occurs which this fixes. Signed-off-by: Jaco Kroon <jaco@iewc.co.za>
This commit is contained in:
parent
b57c520495
commit
0cf41c06ac
1 changed files with 1 additions and 1 deletions
|
@ -437,7 +437,7 @@ lws_create_vhost(struct lws_context *context,
|
|||
struct lws_protocols *lwsp;
|
||||
int m, f = !info->pvo, fx = 0, abs_pcol_count = 0;
|
||||
char buf[96];
|
||||
#if !defined(LWS_WITHOUT_CLIENT) && defined(LWS_HAVE_GETENV)
|
||||
#if (!defined(LWS_WITHOUT_CLIENT) || defined(LWS_WITH_SOCKS5)) && defined(LWS_HAVE_GETENV)
|
||||
char *p;
|
||||
#endif
|
||||
int n;
|
||||
|
|
Loading…
Add table
Reference in a new issue