From: Manoj Kasichainula Date: Tue, 12 Oct 1999 06:14:46 +0000 (+0000) Subject: Make sure to use ap_null_cleanup instead of NULL when setting an empty X-Git-Tag: 1.3.10~274 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2fcdef7eb6113af7dbcd3e8f8e61cbb199be24e0;p=thirdparty%2Fapache%2Fhttpd.git Make sure to use ap_null_cleanup instead of NULL when setting an empty child_cleanup. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@83976 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/server/mpm/winnt/mpm_winnt.c b/server/mpm/winnt/mpm_winnt.c index ed41a6288d1..cd7c8045fae 100644 --- a/server/mpm/winnt/mpm_winnt.c +++ b/server/mpm/winnt/mpm_winnt.c @@ -445,7 +445,7 @@ static int setup_inherited_listeners(server_rec *s) listenmaxfd = nsd; } } -// ap_register_cleanup(p, (void *)lr->sd, socket_cleanup, NULL); +// ap_register_cleanup(p, (void *)lr->sd, socket_cleanup, ap_null_cleanup); ap_put_os_sock(&lr->sd, &nsd, pconf); lr->count = 0; }