libmicrohttpd

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

commit d33dea21fe672967ad39afdf099174b783523798
parent 09666c65f649d07624fcbc832b8b7da9f5524c94
Author: Christian Grothoff <christian@grothoff.org>
Date:   Fri,  6 Aug 2010 10:51:55 +0000

fix

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

diff --git a/src/daemon/connection.c b/src/daemon/connection.c @@ -2224,7 +2224,7 @@ MHD_connection_handle_idle (struct MHD_Connection *connection) timeout = connection->daemon->connection_timeout; if ((connection->socket_fd != -1) && (timeout != 0) && - (timeout > (time (NULL) - con->last_activity)) ) + (timeout > (time (NULL) - connection->last_activity)) ) { MHD_connection_close (connection, MHD_REQUEST_TERMINATED_TIMEOUT_REACHED); return MHD_NO;