libmicrohttpd

HTTP/1.x server C library (MHD 1.x, stable)
Log | Files | Refs | Submodules | README | LICENSE

commit d4114b63f7f4866d14f201dba2a3e3a8bb9d4fe3
parent dba718df13ad6683468ea16693f605637cca2a87
Author: Christian Grothoff <christian@grothoff.org>
Date:   Tue, 17 Mar 2009 03:05:18 +0000

fix

Diffstat:
Msrc/daemon/daemon.c | 3+--
1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/src/daemon/daemon.c b/src/daemon/daemon.c @@ -533,7 +533,6 @@ send_param_adapter (struct MHD_Connection *connection, static int MHD_accept_connection (struct MHD_Daemon *daemon) { - struct MHD_Connection *pos; struct MHD_Connection *connection; #if HAVE_INET6 struct sockaddr_in6 addrstorage; @@ -575,7 +574,7 @@ MHD_accept_connection (struct MHD_Daemon *daemon) #endif #endif if ((daemon->max_connections == 0) - || MHD_ip_limit_add (daemon, addr, addrlen) == MHD_NO)) + || (MHD_ip_limit_add (daemon, addr, addrlen) == MHD_NO)) { /* above connection limit - reject */ #if HAVE_MESSAGES