diff options
author | Evgeny Grin (Karlson2k) <k2k@narod.ru> | 2017-03-15 10:45:15 +0300 |
---|---|---|
committer | Evgeny Grin (Karlson2k) <k2k@narod.ru> | 2017-03-15 10:45:15 +0300 |
commit | b8c844ae6acfa03b0e3390e44b77714674ca83b6 (patch) | |
tree | 5eda92b308f55d0e2302b40bd145852765aafe3b | |
parent | 33d16aa320b4e9fa8ea9ed13b45c4b1b61d3e4f0 (diff) | |
download | libmicrohttpd-b8c844ae6acfa03b0e3390e44b77714674ca83b6.tar.gz libmicrohttpd-b8c844ae6acfa03b0e3390e44b77714674ca83b6.zip |
Fixed compiler warning.
-rw-r--r-- | src/microhttpd/daemon.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/microhttpd/daemon.c b/src/microhttpd/daemon.c index 9e3f6231..6f0fe9f2 100644 --- a/src/microhttpd/daemon.c +++ b/src/microhttpd/daemon.c | |||
@@ -1084,8 +1084,8 @@ MHD_get_fdset2 (struct MHD_Daemon *daemon, | |||
1084 | _("MHD_get_fdset2() called with except_fd_set " | 1084 | _("MHD_get_fdset2() called with except_fd_set " |
1085 | "set to NULL. Such behavior is unsupported.\n")); | 1085 | "set to NULL. Such behavior is unsupported.\n")); |
1086 | #endif | 1086 | #endif |
1087 | FD_ZERO (&es); | ||
1087 | except_fd_set = &es; | 1088 | except_fd_set = &es; |
1088 | FD_ZERO(except_fd_set); | ||
1089 | } | 1089 | } |
1090 | 1090 | ||
1091 | #ifdef EPOLL_SUPPORT | 1091 | #ifdef EPOLL_SUPPORT |
@@ -3457,8 +3457,8 @@ MHD_run_from_select (struct MHD_Daemon *daemon, | |||
3457 | _("MHD_run_from_select() called with except_fd_set " | 3457 | _("MHD_run_from_select() called with except_fd_set " |
3458 | "set to NULL. Such behavior is deprecated.\n")); | 3458 | "set to NULL. Such behavior is deprecated.\n")); |
3459 | #endif | 3459 | #endif |
3460 | FD_ZERO (&es); | ||
3460 | except_fd_set = &es; | 3461 | except_fd_set = &es; |
3461 | FD_ZERO(except_fd_set); | ||
3462 | } | 3462 | } |
3463 | if (0 != (daemon->options & MHD_USE_EPOLL)) | 3463 | if (0 != (daemon->options & MHD_USE_EPOLL)) |
3464 | { | 3464 | { |