From: Trond Norbye Date: Sat, 2 May 2009 07:00:31 +0000 (-0700) Subject: POLLERR is a returned event value X-Git-Tag: 0.29~11 X-Git-Url: https://git.m6w6.name/?a=commitdiff_plain;h=dd7a2e44d9c5bb28e0b4673cf02aa6a1a8aa2b77;p=awesomized%2Flibmemcached POLLERR is a returned event value --- diff --git a/libmemcached/memcached_io.c b/libmemcached/memcached_io.c index 95774865..00b50502 100644 --- 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;