diff options
-rw-r--r-- | README | 3 | ||||
-rw-r--r-- | src/daemon/daemon.c | 3 |
2 files changed, 3 insertions, 3 deletions
@@ -18,7 +18,8 @@ connection.c: | |||
18 | 18 | ||
19 | For POST: | 19 | For POST: |
20 | ========= | 20 | ========= |
21 | - add support to decode multipart/form-data (#1221, TEST) | 21 | - add support to decode multipart/form-data with |
22 | nesting (used for files) -- #1221, TEST | ||
22 | 23 | ||
23 | For SSL: | 24 | For SSL: |
24 | ======== | 25 | ======== |
diff --git a/src/daemon/daemon.c b/src/daemon/daemon.c index 346abedf..02cdfe21 100644 --- a/src/daemon/daemon.c +++ b/src/daemon/daemon.c | |||
@@ -139,13 +139,12 @@ MHD_get_fdset (struct MHD_Daemon *daemon, | |||
139 | struct MHD_Connection *pos; | 139 | struct MHD_Connection *pos; |
140 | int fd; | 140 | int fd; |
141 | 141 | ||
142 | fd = daemon->socket_fd; | ||
143 | if ((daemon == NULL) || | 142 | if ((daemon == NULL) || |
144 | (read_fd_set == NULL) || | 143 | (read_fd_set == NULL) || |
145 | (write_fd_set == NULL) || | 144 | (write_fd_set == NULL) || |
146 | (except_fd_set == NULL) || | 145 | (except_fd_set == NULL) || |
147 | (max_fd == NULL) || | 146 | (max_fd == NULL) || |
148 | (fd == -1) || | 147 | (-1 == (fd = daemon->socket_fd)) || |
149 | (daemon->shutdown == MHD_YES) || | 148 | (daemon->shutdown == MHD_YES) || |
150 | ((daemon->options & MHD_USE_THREAD_PER_CONNECTION) != 0)) | 149 | ((daemon->options & MHD_USE_THREAD_PER_CONNECTION) != 0)) |
151 | return MHD_NO; | 150 | return MHD_NO; |