commit b8c844ae6acfa03b0e3390e44b77714674ca83b6
parent 33d16aa320b4e9fa8ea9ed13b45c4b1b61d3e4f0
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
Date: Wed, 15 Mar 2017 10:45:15 +0300
Fixed compiler warning.
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/microhttpd/daemon.c b/src/microhttpd/daemon.c
@@ -1084,8 +1084,8 @@ MHD_get_fdset2 (struct MHD_Daemon *daemon,
_("MHD_get_fdset2() called with except_fd_set "
"set to NULL. Such behavior is unsupported.\n"));
#endif
+ FD_ZERO (&es);
except_fd_set = &es;
- FD_ZERO(except_fd_set);
}
#ifdef EPOLL_SUPPORT
@@ -3457,8 +3457,8 @@ MHD_run_from_select (struct MHD_Daemon *daemon,
_("MHD_run_from_select() called with except_fd_set "
"set to NULL. Such behavior is deprecated.\n"));
#endif
+ FD_ZERO (&es);
except_fd_set = &es;
- FD_ZERO(except_fd_set);
}
if (0 != (daemon->options & MHD_USE_EPOLL))
{