libmicrohttpd

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

commit e25969a86511fa040f8cc144933fb55739e4cc70
parent 2b656f23daef1c82fc0cf1e34db8fdd2a37c567a
Author: Christian Grothoff <christian@grothoff.org>
Date:   Wed, 14 Oct 2009 12:10:50 +0000

fix

Diffstat:
Msrc/daemon/daemon.c | 2+-
Msrc/daemon/reason_phrase.c | 4++++
2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/src/daemon/daemon.c b/src/daemon/daemon.c @@ -1196,7 +1196,7 @@ MHD_start_daemon_va (unsigned int options, } #ifdef __SYMBIAN32__ - if (0 != (OPTIONS & (MHD_USE_SELECT_INTERNALLY | MHD_USE_THREAD_PER_CONNECTION))) + if (0 != (options & (MHD_USE_SELECT_INTERNALLY | MHD_USE_THREAD_PER_CONNECTION))) { #if HAVE_MESSAGES fprintf (stderr, diff --git a/src/daemon/reason_phrase.c b/src/daemon/reason_phrase.c @@ -27,6 +27,10 @@ #include "reason_phrase.h" +#ifndef NULL +#define NULL (void*)0 +#endif // !NULL + static const char *invalid_hundred[] = { NULL }; static const char *one_hundred[] = {