[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r5500 - libmicrohttpd/src/daemon
From: |
gnunet |
Subject: |
[GNUnet-SVN] r5500 - libmicrohttpd/src/daemon |
Date: |
Wed, 15 Aug 2007 02:42:54 -0600 (MDT) |
Author: grothoff
Date: 2007-08-15 02:42:54 -0600 (Wed, 15 Aug 2007)
New Revision: 5500
Modified:
libmicrohttpd/src/daemon/daemon.c
Log:
fix
Modified: libmicrohttpd/src/daemon/daemon.c
===================================================================
--- libmicrohttpd/src/daemon/daemon.c 2007-08-15 08:36:06 UTC (rev 5499)
+++ libmicrohttpd/src/daemon/daemon.c 2007-08-15 08:42:54 UTC (rev 5500)
@@ -438,8 +438,9 @@
{
/* accept only, have one thread per connection */
max = daemon->socket_fd;
- if (max != -1)
- FD_SET (max, &rs);
+ if (max == -1)
+ return MHD_NO;
+ FD_SET (max, &rs);
}
if (may_block == MHD_NO) {
timeout.tv_usec = 0;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r5500 - libmicrohttpd/src/daemon,
gnunet <=