SOURCES: tpop3d-cvs20060626.patch - bugfix

arekm arekm at pld-linux.org
Wed Jun 28 20:11:12 CEST 2006


Author: arekm                        Date: Wed Jun 28 18:11:12 2006 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- bugfix

---- Files affected:
SOURCES:
   tpop3d-cvs20060626.patch (1.1 -> 1.2) 

---- Diffs:

================================================================
Index: SOURCES/tpop3d-cvs20060626.patch
diff -u SOURCES/tpop3d-cvs20060626.patch:1.1 SOURCES/tpop3d-cvs20060626.patch:1.2
--- SOURCES/tpop3d-cvs20060626.patch:1.1	Mon Jun 26 07:43:09 2006
+++ SOURCES/tpop3d-cvs20060626.patch	Wed Jun 28 20:11:07 2006
@@ -1995,7 +1995,7 @@
 +        connections_pre_select(&n, pfds);
  
 -        e = select(n + 1, &readfds, &writefds, NULL, &tv);
-+        e = poll(pfds, n, 1000 /* must be smaller than timeout */);
++        e = poll(pfds, n + 1, 1000 /* must be smaller than timeout */);
          if (e == -1 && errno != EINTR) {
 -            log_print(LOG_WARNING, "net_loop: select: %m");
 +            log_print(LOG_WARNING, "net_loop: poll: %m");
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SOURCES/tpop3d-cvs20060626.patch?r1=1.1&r2=1.2&f=u



More information about the pld-cvs-commit mailing list