[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[libmicrohttpd] 03/04: test_upgrade{,_large}.c: fixed portability
From: |
gnunet |
Subject: |
[libmicrohttpd] 03/04: test_upgrade{,_large}.c: fixed portability |
Date: |
Thu, 07 Oct 2021 10:49:37 +0200 |
This is an automated email from the git hooks/post-receive script.
karlson2k pushed a commit to branch master
in repository libmicrohttpd.
commit 6acc44c9c9931ed5c939695b7141147d04470416
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
AuthorDate: Wed Oct 6 11:25:18 2021 +0300
test_upgrade{,_large}.c: fixed portability
---
src/microhttpd/test_upgrade.c | 2 +-
src/microhttpd/test_upgrade_large.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/microhttpd/test_upgrade.c b/src/microhttpd/test_upgrade.c
index 61ec0bde..b41a5561 100644
--- a/src/microhttpd/test_upgrade.c
+++ b/src/microhttpd/test_upgrade.c
@@ -898,7 +898,7 @@ run_mhd_select_loop (struct MHD_Daemon *daemon)
FD_ZERO (&rs);
FD_ZERO (&ws);
FD_ZERO (&es);
- max_fd = -1;
+ max_fd = MHD_INVALID_SOCKET;
to = 1000;
if (MHD_YES !=
diff --git a/src/microhttpd/test_upgrade_large.c
b/src/microhttpd/test_upgrade_large.c
index c1faca5c..4c54905d 100644
--- a/src/microhttpd/test_upgrade_large.c
+++ b/src/microhttpd/test_upgrade_large.c
@@ -1085,7 +1085,7 @@ run_mhd_select_loop (struct MHD_Daemon *daemon)
FD_ZERO (&rs);
FD_ZERO (&ws);
FD_ZERO (&es);
- max_fd = -1;
+ max_fd = MHD_INVALID_SOCKET;
to = 1000;
FD_SET (MHD_itc_r_fd_ (kicker), &rs);
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.