[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r10132 - libmicrohttpd/src/daemon
From: |
gnunet |
Subject: |
[GNUnet-SVN] r10132 - libmicrohttpd/src/daemon |
Date: |
Sun, 24 Jan 2010 11:18:20 +0100 |
Author: durner
Date: 2010-01-24 11:18:20 +0100 (Sun, 24 Jan 2010)
New Revision: 10132
Modified:
libmicrohttpd/src/daemon/daemon.c
Log:
check for -1
Modified: libmicrohttpd/src/daemon/daemon.c
===================================================================
--- libmicrohttpd/src/daemon/daemon.c 2010-01-24 06:21:35 UTC (rev 10131)
+++ libmicrohttpd/src/daemon/daemon.c 2010-01-24 10:18:20 UTC (rev 10132)
@@ -664,7 +664,7 @@
memset (addr, 0, sizeof (addrstorage));
s = ACCEPT (daemon->socket_fd, addr, &addrlen);
- if ((s < 0) || (addrlen <= 0))
+ if ((s == -1) || (addrlen <= 0))
{
#if HAVE_MESSAGES
/* This could be a common occurance with multiple worker threads */
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r10132 - libmicrohttpd/src/daemon,
gnunet <=