From 3b31d6634faab3deb21c57ddbd9a8fd5a32e2a76 Mon Sep 17 00:00:00 2001 From: Mark Andrews Date: Thu, 21 Dec 2006 10:06:17 +0000 Subject: [PATCH] don't use C90 constructs --- lib/isc/httpd.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/isc/httpd.c b/lib/isc/httpd.c index ddb6931ac6..61ca14311d 100644 --- a/lib/isc/httpd.c +++ b/lib/isc/httpd.c @@ -14,7 +14,7 @@ * PERFORMANCE OF THIS SOFTWARE. */ -/* $Id: httpd.c,v 1.4 2006/12/21 06:02:30 marka Exp $ */ +/* $Id: httpd.c,v 1.5 2006/12/21 10:06:17 marka Exp $ */ /*! \file */ @@ -220,9 +220,10 @@ static void destroy_client(isc_httpd_t **httpdp) { isc_httpd_t *httpd = *httpdp; - *httpdp = NULL; isc_httpdmgr_t *httpdmgr = httpd->mgr; + *httpdp = NULL; + LOCK(&httpdmgr->lock); isc_socket_detach(&httpd->sock);