diff options
author | Christian Grothoff <christian@grothoff.org> | 2011-11-22 08:57:45 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2011-11-22 08:57:45 +0000 |
commit | 8b58c898eed7bfcf61654f5df2a855b869659417 (patch) | |
tree | 15be190a3f9687fb48757db402499d5de46fbcd5 | |
parent | 6cf74917a7476f738207b07c93a49a3406ffab5d (diff) | |
download | libmicrohttpd-8b58c898eed7bfcf61654f5df2a855b869659417.tar.gz libmicrohttpd-8b58c898eed7bfcf61654f5df2a855b869659417.zip |
fix compile errors
-rw-r--r-- | src/daemon/connection.c | 2 | ||||
-rw-r--r-- | src/include/microhttpd.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/daemon/connection.c b/src/daemon/connection.c index 229ab6b5..70e1ad91 100644 --- a/src/daemon/connection.c +++ b/src/daemon/connection.c | |||
@@ -660,7 +660,7 @@ build_header_response (struct MHD_Connection *connection) | |||
660 | kind = MHD_HEADER_KIND; | 660 | kind = MHD_HEADER_KIND; |
661 | if ( (0 == (connection->daemon->options & MHD_SUPPRESS_DATE_NO_CLOCK)) && | 661 | if ( (0 == (connection->daemon->options & MHD_SUPPRESS_DATE_NO_CLOCK)) && |
662 | (NULL == MHD_get_response_header (connection->response, | 662 | (NULL == MHD_get_response_header (connection->response, |
663 | MHD_HTTP_HEADER_DATE)) | 663 | MHD_HTTP_HEADER_DATE)) ) |
664 | get_date_string (date); | 664 | get_date_string (date); |
665 | else | 665 | else |
666 | date[0] = '\0'; | 666 | date[0] = '\0'; |
diff --git a/src/include/microhttpd.h b/src/include/microhttpd.h index 73a9088c..4904dcb8 100644 --- a/src/include/microhttpd.h +++ b/src/include/microhttpd.h | |||
@@ -365,7 +365,7 @@ enum MHD_FLAG | |||
365 | /** | 365 | /** |
366 | * Use poll instead of select. This allows sockets with fd >= FD_SETSIZE. | 366 | * Use poll instead of select. This allows sockets with fd >= FD_SETSIZE. |
367 | */ | 367 | */ |
368 | MHD_USE_POLL = 64 | 368 | MHD_USE_POLL = 64, |
369 | 369 | ||
370 | /** | 370 | /** |
371 | * Suppress (automatically) adding the 'Date:' header to HTTP responses. | 371 | * Suppress (automatically) adding the 'Date:' header to HTTP responses. |