projects
/
metaproxy-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8b67f7d
)
zoom: fix CS write-check
author
Adam Dickmeiss
<adam@indexdata.dk>
Mon, 12 Jan 2015 12:26:42 +0000
(13:26 +0100)
committer
Adam Dickmeiss
<adam@indexdata.dk>
Mon, 12 Jan 2015 12:26:45 +0000
(13:26 +0100)
Thanks to Dennis Schafroth for spotting this.
src/filter_zoom.cpp
patch
|
blob
|
history
diff --git
a/src/filter_zoom.cpp
b/src/filter_zoom.cpp
index
8ca763b
..
79bec98
100644
(file)
--- a/
src/filter_zoom.cpp
+++ b/
src/filter_zoom.cpp
@@
-2103,7
+2103,7
@@
static bool wait_conn(COMSTACK cs, int secs)
struct yaz_poll_fd pfd;
yaz_poll_add(pfd.input_mask, yaz_poll_except);
- if (cs->io_pending && CS_WANT_WRITE)
+ if (cs->io_pending & CS_WANT_WRITE)
yaz_poll_add(pfd.input_mask, yaz_poll_write);
if (cs->io_pending & CS_WANT_READ)
yaz_poll_add(pfd.input_mask, yaz_poll_read);