libmicrohttpd

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

commit 67bd27b5c1827e9a1c4d122ef21e5371623da990
parent 631c1d244c5282b7e95f1f6d30853627496e36e0
Author: Christian Grothoff <christian@grothoff.org>
Date:   Mon, 24 Jan 2011 15:37:17 +0000

fixing 1646

Diffstat:
MChangeLog | 3+++
Msrc/daemon/daemon.c | 2++
2 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/ChangeLog b/ChangeLog @@ -1,3 +1,6 @@ +Mon Jan 24 16:36:35 CET 2011 + Fixing compilation error if DAUTH_SUPPORT was 0 (#1646). -CG/bplant + Tue Jan 18 23:58:09 CET 2011 Fixing hash calculation in digest auth; old function had collisions causing the browser to challenge users for diff --git a/src/daemon/daemon.c b/src/daemon/daemon.c @@ -1793,8 +1793,10 @@ MHD_start_daemon_va (unsigned int options, MHD_DLOG (retVal, "MHD poll support only works with MHD_USE_THREAD_PER_CONNECTION\n"); #endif +#if DAUTH_SUPPORT free (retVal->nnc); pthread_mutex_destroy (&retVal->nnc_lock); +#endif free (retVal); return NULL; }