Mercurial > dnsbl
comparison 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 |
comparison
equal
deleted
inserted
replaced
239:72c8bfc38d16 | 240:536d59c3a7b8 |
---|---|
260 my_syslog(priv, "poll failed"); | 260 my_syslog(priv, "poll failed"); |
261 error = true; | 261 error = true; |
262 return; | 262 return; |
263 } | 263 } |
264 | 264 |
265 if (fds[1].revents & (POLLERR|POLLNVAL|POLLHUP)) { | 265 if (fds[1].revents & (POLLERR|POLLNVAL)) { |
266 my_syslog(priv, "poll says my read pipe is busted"); | 266 my_syslog(priv, "poll says my read pipe is busted"); |
267 error = true; | 267 error = true; |
268 return; | 268 return; |
269 } | 269 } |
270 | 270 |