summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2007-09-09 19:29:04 +0000
committerChristian Grothoff <christian@grothoff.org>2007-09-09 19:29:04 +0000
commit8ce09efc5e3c19d413727e8b80c5f2eff9406b38 (patch)
treed4b2c058380a4f59e8c85c1904b8dd658813b11c
parent298a38eb158ecb93ecf3de77a7fb2b6b17e649e0 (diff)
fix
-rw-r--r--README3
-rw-r--r--src/daemon/daemon.c3
2 files changed, 3 insertions, 3 deletions
diff --git a/README b/README
index 1cf31703..ff7da70e 100644
--- a/README
+++ b/README
@@ -18,7 +18,8 @@ connection.c:
For POST:
=========
-- add support to decode multipart/form-data (#1221, TEST)
+- add support to decode multipart/form-data with
+ nesting (used for files) -- #1221, TEST
For SSL:
========
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,
struct MHD_Connection *pos;
int fd;
- fd = daemon->socket_fd;
if ((daemon == NULL) ||
(read_fd_set == NULL) ||
(write_fd_set == NULL) ||
(except_fd_set == NULL) ||
(max_fd == NULL) ||
- (fd == -1) ||
+ (-1 == (fd = daemon->socket_fd)) ||
(daemon->shutdown == MHD_YES) ||
((daemon->options & MHD_USE_THREAD_PER_CONNECTION) != 0))
return MHD_NO;