From 9ed754d46e0f023e335c6ad47daba8694f173c16 Mon Sep 17 00:00:00 2001 From: Andy Green Date: Sun, 23 Mar 2014 15:15:54 +0800 Subject: [PATCH] fix NO_EXTENSIONS reported by gaby64 https://github.com/warmcat/libwebsockets/issues/89#issuecomment-38375684 Signed-off-by: Andy Green --- lib/client-parser.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/client-parser.c b/lib/client-parser.c index 23c8f077..677b3dff 100644 --- a/lib/client-parser.c +++ b/lib/client-parser.c @@ -26,9 +26,9 @@ int libwebsocket_client_rx_sm(struct libwebsocket *wsi, unsigned char c) int callback_action = LWS_CALLBACK_CLIENT_RECEIVE; int handled; struct lws_tokens eff_buf; + int m; #ifndef LWS_NO_EXTENSIONS int n; - int m; #endif switch (wsi->lws_rx_parse_state) {