projects
/
m6w6
/
libmemcached
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
|
github
raw
|
patch
| inline |
side by side
(parent:
c97c852
)
POLLERR is a returned event value
author
Trond Norbye
<trond.norbye@sun.com>
Sat, 2 May 2009 07:00:31 +0000
(
00:00
-0700)
committer
Trond Norbye
<trond.norbye@sun.com>
Sat, 2 May 2009 07:00:31 +0000
(
00:00
-0700)
libmemcached/memcached_io.c
patch
|
blob
|
history
diff --git
a/libmemcached/memcached_io.c
b/libmemcached/memcached_io.c
index 95774865445ced3318f32cb26cea51da29a7809c..00b505026c5d5b9f1a6d3ac50f103e1c29a9c2cc 100644
(file)
--- a/
libmemcached/memcached_io.c
+++ b/
libmemcached/memcached_io.c
@@
-23,9
+23,9
@@
static memcached_return io_wait(memcached_server_st *ptr,
int error;
if (read_or_write == MEM_WRITE) /* write */
- flags= POLLOUT
| POLLERR
;
+ flags= POLLOUT;
else
- flags= POLLIN
| POLLERR
;
+ flags= POLLIN;
memset(&fds, 0, sizeof(struct pollfd));
fds[0].fd= ptr->fd;