2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-29 13:38:26 +00:00

don't use C90 constructs

This commit is contained in:
Mark Andrews 2006-12-21 10:06:17 +00:00
parent 9ea0cc836d
commit 3b31d6634f

View File

@ -14,7 +14,7 @@
* PERFORMANCE OF THIS SOFTWARE. * 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 */ /*! \file */
@ -220,9 +220,10 @@ static void
destroy_client(isc_httpd_t **httpdp) destroy_client(isc_httpd_t **httpdp)
{ {
isc_httpd_t *httpd = *httpdp; isc_httpd_t *httpd = *httpdp;
*httpdp = NULL;
isc_httpdmgr_t *httpdmgr = httpd->mgr; isc_httpdmgr_t *httpdmgr = httpd->mgr;
*httpdp = NULL;
LOCK(&httpdmgr->lock); LOCK(&httpdmgr->lock);
isc_socket_detach(&httpd->sock); isc_socket_detach(&httpd->sock);