fix NO_EXTENSIONS

reported by gaby64
https://github.com/warmcat/libwebsockets/issues/89#issuecomment-38375684

Signed-off-by: Andy Green <andy.green@linaro.org>
This commit is contained in:
Andy Green 2014-03-23 15:15:54 +08:00
parent 9769f4f293
commit 9ed754d46e

View file

@ -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) {