commit 81109453ca3d36f36bc4b0367f0677c03e234abe
parent d4114b63f7f4866d14f201dba2a3e3a8bb9d4fe3
Author: Christian Grothoff <christian@grothoff.org>
Date: Tue, 17 Mar 2009 06:52:37 +0000
fix
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/src/daemon/daemon.c b/src/daemon/daemon.c
@@ -203,6 +203,7 @@ MHD_ip_limit_add(struct MHD_Daemon *daemon,
/* If we got an existing node back, free the one we created */
if (node != key)
free(key);
+ key = (struct MHD_IPCount*)node;
/* Test if there is room for another connection; if so,
* increment count */