commit | 14f4729c0dd94b68b481a3312d4e50c6353a3502 | [log] [tgz] |
---|---|---|
author | Andy Green <andy.green@linaro.org> | Mon Feb 11 19:36:15 2013 +0800 |
committer | Andy Green <andy.green@linaro.org> | Mon Feb 11 19:36:15 2013 +0800 |
tree | 0563444f01ada490821b60936a3c31f6bfce5155 | |
parent | b5b23199f6bea15344e942ac22f1a3fbf7164112 [diff] |
fix without server Signed-off-by: Andy Green <andy.green@linaro.org>
diff --git a/lib/libwebsockets.c b/lib/libwebsockets.c index 560fb09..3889fdf 100644 --- a/lib/libwebsockets.c +++ b/lib/libwebsockets.c
@@ -1608,10 +1608,10 @@ 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;