changeset 240:536d59c3a7b8

pollnval might be triggered on the last pollin data chunk
author Carl Byington <carl@five-ten-sg.com>
date Tue, 30 Mar 2010 10:05:35 -0700
parents 72c8bfc38d16
children 315c53fbbb77
files src/spamass.cpp.in
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/spamass.cpp.in	Tue Sep 29 12:19:42 2009 -0700
+++ b/src/spamass.cpp.in	Tue Mar 30 10:05:35 2010 -0700
@@ -262,7 +262,7 @@
             return;
         }
 
-        if (fds[1].revents & (POLLERR|POLLNVAL|POLLHUP)) {
+        if (fds[1].revents & (POLLERR|POLLNVAL)) {
             my_syslog(priv, "poll says my read pipe is busted");
             error = true;
             return;