projects
/
platform
/
upstream
/
libwebsockets.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b5b2319
)
fix without server
author
Andy Green
<andy.green@linaro.org>
Mon, 11 Feb 2013 11:36:15 +0000
(19:36 +0800)
committer
Andy Green
<andy.green@linaro.org>
Mon, 11 Feb 2013 11:36:15 +0000
(19:36 +0800)
Signed-off-by: Andy Green <andy.green@linaro.org>
lib/libwebsockets.c
patch
|
blob
|
history
diff --git
a/lib/libwebsockets.c
b/lib/libwebsockets.c
index
560fb09
..
3889fdf
100644
(file)
--- 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;