projects
/
profile
/
ivi
/
libwebsockets.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3de7844
)
Fixed operator precedence bug.
50/2850/1
author
David Galeano
<davidgaleano@turbulenz.biz>
Thu, 10 Jan 2013 01:54:10 +0000
(09:54 +0800)
committer
Kevron Rees
<kevron_m_rees@linux.intel.com>
Thu, 7 Mar 2013 21:01:22 +0000
(13:01 -0800)
lib/libwebsockets.c
patch
|
blob
|
history
diff --git
a/lib/libwebsockets.c
b/lib/libwebsockets.c
index
6fa27aa
..
4846388
100644
(file)
--- a/
lib/libwebsockets.c
+++ b/
lib/libwebsockets.c
@@
-1527,7
+1527,7
@@
libwebsocket_service_fd(struct libwebsocket_context *context,
/* pollin means a client has connected to us then */
- if (!
pollfd->revents & POLLIN
)
+ if (!
(pollfd->revents & POLLIN)
)
break;
if (context->fds_count >= MAX_CLIENTS) {
@@
-1644,7
+1644,7
@@
libwebsocket_service_fd(struct libwebsocket_context *context,
/* as we are listening, POLLIN means accept() is needed */
- if (!
pollfd->revents & POLLIN
)
+ if (!
(pollfd->revents & POLLIN)
)
break;
/* listen socket got an unencrypted connection... */