aboutsummaryrefslogtreecommitdiff
path: root/src/microhttpd/daemon.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/microhttpd/daemon.c')
-rw-r--r--src/microhttpd/daemon.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/microhttpd/daemon.c b/src/microhttpd/daemon.c
index 14ef7e2a..df4038fd 100644
--- a/src/microhttpd/daemon.c
+++ b/src/microhttpd/daemon.c
@@ -4269,7 +4269,7 @@ get_timeout_millisec_ (struct MHD_Daemon *daemon,
4269 if ((0 < max_timeout) && ((uint64_t) max_timeout < d_timeout)) 4269 if ((0 < max_timeout) && ((uint64_t) max_timeout < d_timeout))
4270 return max_timeout; 4270 return max_timeout;
4271 4271
4272 if (INT64_MAX < d_timeout) 4272 if (INT64_MAX <= d_timeout)
4273 return INT64_MAX; 4273 return INT64_MAX;
4274 4274
4275 return (int64_t) d_timeout; 4275 return (int64_t) d_timeout;