diff options
Diffstat (limited to 'src/microhttpd/daemon.c')
-rw-r--r-- | src/microhttpd/daemon.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/microhttpd/daemon.c b/src/microhttpd/daemon.c index 0b27d2a7..9a345621 100644 --- a/src/microhttpd/daemon.c +++ b/src/microhttpd/daemon.c | |||
@@ -2995,8 +2995,8 @@ MHD_get_timeout (struct MHD_Daemon *daemon, | |||
2995 | have_timeout = MHD_YES; | 2995 | have_timeout = MHD_YES; |
2996 | } | 2996 | } |
2997 | } | 2997 | } |
2998 | /* normal timeouts are sorted, so we only need to look at the 'head' */ | 2998 | /* normal timeouts are sorted, so we only need to look at the 'tail' (oldest) */ |
2999 | pos = daemon->normal_timeout_head; | 2999 | pos = daemon->normal_timeout_tail; |
3000 | if ( (NULL != pos) && | 3000 | if ( (NULL != pos) && |
3001 | (0 != pos->connection_timeout) ) | 3001 | (0 != pos->connection_timeout) ) |
3002 | { | 3002 | { |