POLLERR is a returned event value
authorTrond Norbye <trond.norbye@sun.com>
Sat, 2 May 2009 07:00:31 +0000 (00:00 -0700)
committerTrond Norbye <trond.norbye@sun.com>
Sat, 2 May 2009 07:00:31 +0000 (00:00 -0700)
libmemcached/memcached_io.c

index 95774865445ced3318f32cb26cea51da29a7809c..00b505026c5d5b9f1a6d3ac50f103e1c29a9c2cc 100644 (file)
@@ -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;