[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[libmicrohttpd] 144/156: Avoided potential compiler warnings
From: |
gnunet |
Subject: |
[libmicrohttpd] 144/156: Avoided potential compiler warnings |
Date: |
Sun, 28 May 2023 17:53:17 +0200 |
This is an automated email from the git hooks/post-receive script.
karlson2k pushed a commit to tag v0.9.77
in repository libmicrohttpd.
commit 30be24d9a9ab4b27602836b712c0ec59b6c23e33
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
AuthorDate: Thu May 25 13:23:28 2023 +0300
Avoided potential compiler warnings
---
src/microhttpd/daemon.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/microhttpd/daemon.c b/src/microhttpd/daemon.c
index 55df49ea..db2432bc 100644
--- a/src/microhttpd/daemon.c
+++ b/src/microhttpd/daemon.c
@@ -4033,13 +4033,13 @@ get_timeout_millisec_ (struct MHD_Daemon *daemon,
return 0;
if (MHD_NO == MHD_get_timeout (daemon, &ulltimeout))
- return (INT_MAX < max_timeout) ? INT_MAX : (int) max_timeout;
+ return (INT_MAX <= max_timeout) ? INT_MAX : (int) max_timeout;
if ( (0 > max_timeout) ||
((uint32_t) max_timeout > ulltimeout) )
- return (INT_MAX < ulltimeout) ? INT_MAX : (int) ulltimeout;
+ return (INT_MAX <= ulltimeout) ? INT_MAX : (int) ulltimeout;
- return (INT_MAX < max_timeout) ? INT_MAX : (int) max_timeout;
+ return (INT_MAX <= max_timeout) ? INT_MAX : (int) max_timeout;
}
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
- [libmicrohttpd] 110/156: digest auth: fixed parallel access to the hash table, (continued)
- [libmicrohttpd] 110/156: digest auth: fixed parallel access to the hash table, gnunet, 2023/05/28
- [libmicrohttpd] 114/156: examples/largepost.c: fixed code style, gnunet, 2023/05/28
- [libmicrohttpd] 125/156: .gitignore: force include all *.{c,h} files, gnunet, 2023/05/28
- [libmicrohttpd] 113/156: examples/largepost.c: fixed caseless method match, gnunet, 2023/05/28
- [libmicrohttpd] 129/156: Detect sysctl() symbols in configure, gnunet, 2023/05/28
- [libmicrohttpd] 98/156: .gitignore: added universal patter to ignore test binaries, gnunet, 2023/05/28
- [libmicrohttpd] 140/156: Added support for custom command for tarball compression, gnunet, 2023/05/28
- [libmicrohttpd] 143/156: Fixed compiler warning when built without poll() support, gnunet, 2023/05/28
- [libmicrohttpd] 141/156: contrib/make-dist.sh: added use of zopfli if available, gnunet, 2023/05/28
- [libmicrohttpd] 142/156: daemon.c: redesigned code for clarity and formatting, gnunet, 2023/05/28
- [libmicrohttpd] 144/156: Avoided potential compiler warnings,
gnunet <=
- [libmicrohttpd] 149/156: Removed Public Domain base64 decoding files, gnunet, 2023/05/28
- [libmicrohttpd] 151/156: ChangeLog: updated, gnunet, 2023/05/28
- [libmicrohttpd] 152/156: W32 VS project: reverted to standard arches names, gnunet, 2023/05/28
- [libmicrohttpd] 147/156: Added macro for base64 decoded size, gnunet, 2023/05/28
- [libmicrohttpd] 156/156: Released GNU libmicrohttpd 0.9.77, gnunet, 2023/05/28
- [libmicrohttpd] 146/156: test_str_base64: added test for base64 decoding, gnunet, 2023/05/28
- [libmicrohttpd] 150/156: test_basicauth: added new test, gnunet, 2023/05/28
- [libmicrohttpd] 154/156: autoinit_funcs.h: fixed warning on MSVC, gnunet, 2023/05/28
- [libmicrohttpd] 148/156: Basic auth: switched to internal base64 decoding, gnunet, 2023/05/28
- [libmicrohttpd] 153/156: W32 VS Project: minor internal fixes, fixed files for "dist", gnunet, 2023/05/28