diff options
Diffstat (limited to 'src/daemon/daemon.c')
-rw-r--r-- | src/daemon/daemon.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/daemon/daemon.c b/src/daemon/daemon.c index 3dce3942..e050d585 100644 --- a/src/daemon/daemon.c +++ b/src/daemon/daemon.c | |||
@@ -75,9 +75,6 @@ | |||
75 | #ifndef MSG_NOSIGNAL | 75 | #ifndef MSG_NOSIGNAL |
76 | #define MSG_NOSIGNAL 0 | 76 | #define MSG_NOSIGNAL 0 |
77 | #endif | 77 | #endif |
78 | #ifndef MSG_DONTWAIT | ||
79 | #define MSG_DONTWAIT 0 | ||
80 | #endif | ||
81 | #endif | 78 | #endif |
82 | 79 | ||
83 | /** | 80 | /** |
@@ -712,7 +709,7 @@ recv_param_adapter (struct MHD_Connection *connection, | |||
712 | return -1; | 709 | return -1; |
713 | if (0 != (connection->daemon->options & MHD_USE_SSL)) | 710 | if (0 != (connection->daemon->options & MHD_USE_SSL)) |
714 | return RECV (connection->socket_fd, other, i, MSG_NOSIGNAL); | 711 | return RECV (connection->socket_fd, other, i, MSG_NOSIGNAL); |
715 | return RECV (connection->socket_fd, other, i, MSG_NOSIGNAL | MSG_DONTWAIT); | 712 | return RECV (connection->socket_fd, other, i, MSG_NOSIGNAL); |
716 | } | 713 | } |
717 | 714 | ||
718 | /** | 715 | /** |
@@ -767,7 +764,7 @@ send_param_adapter (struct MHD_Connection *connection, | |||
767 | http://lists.gnu.org/archive/html/libmicrohttpd/2011-02/msg00015.html */ | 764 | http://lists.gnu.org/archive/html/libmicrohttpd/2011-02/msg00015.html */ |
768 | } | 765 | } |
769 | #endif | 766 | #endif |
770 | return SEND (connection->socket_fd, other, i, MSG_NOSIGNAL | MSG_DONTWAIT); | 767 | return SEND (connection->socket_fd, other, i, MSG_NOSIGNAL); |
771 | } | 768 | } |
772 | 769 | ||
773 | 770 | ||