libmicrohttpd

HTTP/1.x server C library (MHD 1.x, stable)
Log | Files | Refs | Submodules | README | LICENSE

commit 8b58c898eed7bfcf61654f5df2a855b869659417
parent 6cf74917a7476f738207b07c93a49a3406ffab5d
Author: Christian Grothoff <christian@grothoff.org>
Date:   Tue, 22 Nov 2011 08:57:45 +0000

fix compile errors

Diffstat:
Msrc/daemon/connection.c | 2+-
Msrc/include/microhttpd.h | 2+-
2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/daemon/connection.c b/src/daemon/connection.c @@ -660,7 +660,7 @@ build_header_response (struct MHD_Connection *connection) kind = MHD_HEADER_KIND; if ( (0 == (connection->daemon->options & MHD_SUPPRESS_DATE_NO_CLOCK)) && (NULL == MHD_get_response_header (connection->response, - MHD_HTTP_HEADER_DATE)) + MHD_HTTP_HEADER_DATE)) ) get_date_string (date); else date[0] = '\0'; diff --git a/src/include/microhttpd.h b/src/include/microhttpd.h @@ -365,7 +365,7 @@ enum MHD_FLAG /** * Use poll instead of select. This allows sockets with fd >= FD_SETSIZE. */ - MHD_USE_POLL = 64 + MHD_USE_POLL = 64, /** * Suppress (automatically) adding the 'Date:' header to HTTP responses.