diff src/spamass.cpp.in @ 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 3fee608becbc
children 78eedbbce636
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;