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:
a38a8cf
)
NO_SERVER_fix cosmetic warning
author
Andy Green
<andy.green@linaro.org>
Wed, 10 Dec 2014 02:24:33 +0000
(10:24 +0800)
committer
Andy Green
<andy.green@linaro.org>
Wed, 10 Dec 2014 02:24:33 +0000
(10:24 +0800)
Signed-off-by: Andy Green <andy.green@linaro.org>
lib/service.c
patch
|
blob
|
history
diff --git
a/lib/service.c
b/lib/service.c
index
d06bba1
..
7b7a4fb
100644
(file)
--- a/
lib/service.c
+++ b/
lib/service.c
@@
-566,6
+566,9
@@
drain:
lwsl_info("flow buffer: drained\n");
lws_free2(wsi->rxflow_buffer);
/* having drained the rxflow buffer, can rearm POLLIN */
+#ifdef LWS_NO_SERVER
+ n =
+#endif
_libwebsocket_rx_flow_control(wsi); /* n ignored, needed for NO_SERVER case */
}