From 14f4729c0dd94b68b481a3312d4e50c6353a3502 Mon Sep 17 00:00:00 2001 From: Andy Green Date: Mon, 11 Feb 2013 19:36:15 +0800 Subject: [PATCH] fix without server Signed-off-by: Andy Green --- lib/libwebsockets.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/libwebsockets.c b/lib/libwebsockets.c index 560fb09f..3889fdfa 100644 --- a/lib/libwebsockets.c +++ b/lib/libwebsockets.c @@ -1608,10 +1608,10 @@ int user_callback_handle_rxflow(callback_function callback_function, struct libwebsocket_context * libwebsocket_create_context(struct lws_context_creation_info *info) { - int n; struct libwebsocket_context *context = NULL; char *p; #ifndef LWS_NO_SERVER + int n; int opt = 1; struct libwebsocket *wsi; struct sockaddr_in serv_addr;