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.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/microhttpd/daemon.c b/src/microhttpd/daemon.c
index bec6d8d8..83110dd3 100644
--- a/src/microhttpd/daemon.c
+++ b/src/microhttpd/daemon.c
@@ -5624,7 +5624,7 @@ parse_options_va (struct MHD_Daemon *daemon,
5624 case MHD_OPTION_CONNECTION_TIMEOUT: 5624 case MHD_OPTION_CONNECTION_TIMEOUT:
5625 uv = va_arg (ap, 5625 uv = va_arg (ap,
5626 unsigned int); 5626 unsigned int);
5627#if (0 == (UINT64_MAX + 0)) || ((UINT_MAX + 0) >= (UINT64_MAX + 0)) 5627#if (SIZEOF_UINT64_T - 1) <= SIZEOF_UNSIGNED_INT
5628 if ((UINT64_MAX / 2000 - 1) < uv) 5628 if ((UINT64_MAX / 2000 - 1) < uv)
5629 { 5629 {
5630#ifdef HAVE_MESSAGES 5630#ifdef HAVE_MESSAGES
@@ -5638,7 +5638,7 @@ parse_options_va (struct MHD_Daemon *daemon,
5638 daemon->connection_timeout_ms = UINT64_MAX / 2000 - 1; 5638 daemon->connection_timeout_ms = UINT64_MAX / 2000 - 1;
5639 } 5639 }
5640 else 5640 else
5641#endif /* UINTMAX_MAX >= UINT64_MAX */ 5641#endif /* (SIZEOF_UINT64_T - 1) <= SIZEOF_UNSIGNED_INT */
5642 daemon->connection_timeout_ms = uv * 1000; 5642 daemon->connection_timeout_ms = uv * 1000;
5643 break; 5643 break;
5644 case MHD_OPTION_NOTIFY_COMPLETED: 5644 case MHD_OPTION_NOTIFY_COMPLETED: