gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r14938 - libmicrohttpd/src/daemon


From: gnunet
Subject: [GNUnet-SVN] r14938 - libmicrohttpd/src/daemon
Date: Sat, 9 Apr 2011 16:12:21 +0200

Author: grothoff
Date: 2011-04-09 16:12:20 +0200 (Sat, 09 Apr 2011)
New Revision: 14938

Modified:
   libmicrohttpd/src/daemon/daemon.c
Log:
1674 round II

Modified: libmicrohttpd/src/daemon/daemon.c
===================================================================
--- libmicrohttpd/src/daemon/daemon.c   2011-04-08 23:11:14 UTC (rev 14937)
+++ libmicrohttpd/src/daemon/daemon.c   2011-04-09 14:12:20 UTC (rev 14938)
@@ -1468,7 +1468,7 @@
     timeout = (ltimeout > INT_MAX) ? INT_MAX : (int) ltimeout;
 #ifdef __CYGWIN__
   /* See https://gnunet.org/bugs/view.php?id=1674 */
-  timeout = (timeout > 2000) ? 2000 : timeout;
+  timeout = ( (timeout > 2000) || (timeout < 0) ) ? 2000 : timeout;
 #endif
   if (poll (&p, 1, timeout) < 0)
     {




reply via email to

[Prev in Thread] Current Thread [Next in Thread]