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:
c67dace
)
test server only mention pollfd if EXTERNAL_POLL
author
Andy Green
<andy.green@linaro.org>
Thu, 5 Mar 2015 09:06:16 +0000
(17:06 +0800)
committer
Andy Green
<andy.green@linaro.org>
Thu, 5 Mar 2015 09:06:16 +0000
(17:06 +0800)
Signed-off-by: Andy Green <andy.green@linaro.org>
test-server/test-server.c
patch
|
blob
|
history
diff --git
a/test-server/test-server.c
b/test-server/test-server.c
index
567f545
..
055c3f6
100644
(file)
--- a/
test-server/test-server.c
+++ b/
test-server/test-server.c
@@
-47,9
+47,11
@@
static int close_testing;
int max_poll_elements;
+#ifdef EXTERNAL_POLL
struct pollfd *pollfds;
int *fd_lookup;
int count_pollfds;
+#endif
static volatile int force_exit = 0;
static struct libwebsocket_context *context;