madcowfred / newsmangler

NNTP binary poster with mulitple connection support
37 stars 18 forks source link

fix for fakepoll.py - patch #12

Closed JackDandy closed 12 years ago

JackDandy commented 12 years ago
diff --git a/newsmangler/fakepoll.py b/newsmangler/fakepoll.py
index 1d12249..9fcd71f 100644
--- a/newsmangler/fakepoll.py
+++ b/newsmangler/fakepoll.py
@@ -35,6 +35,18 @@ select.POLLIN = 1
 select.POLLOUT = 2
 select.POLLNVAL = 4

+# combo didnt work even though this is prob correct vals
+#select.POLLIN = 1
+#select.POLLPRI = 2
+#select.POLLOUT = 4
+#select.POLLERR = 8
+#select.POLLHUP = 16
+#select.POLLNVAL = 32
+select.POLLPRI = 8
+select.POLLERR = 16
+select.POLLHUP = 32
+  
madcowfred commented 12 years ago

Applied, thanks.