From: Ryan Bloom Date: Tue, 23 May 2000 23:26:51 +0000 (+0000) Subject: Fix a small bug/warning when compiling with use-maintiner-mode related X-Git-Tag: APACHE_2_0_ALPHA_4~93 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=ea432e560283162ff5dde31e26f996cd453b98ad;p=thirdparty%2Fapache%2Fhttpd.git Fix a small bug/warning when compiling with use-maintiner-mode related to the ap_proc_t change. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85283 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/server/mpm_common.c b/server/mpm_common.c index cba30a701fb..990469fd515 100644 --- a/server/mpm_common.c +++ b/server/mpm_common.c @@ -180,7 +180,7 @@ ap_proc_t *ap_wait_or_timeout(ap_wait_t *status, ap_pool_t *p) { struct timeval tv; ap_status_t rv; - ap_proc_t *ret; + ap_proc_t *ret = ap_pcalloc(p, sizeof(ret)); ++wait_or_timeout_counter; if (wait_or_timeout_counter == INTERVAL_OF_WRITABLE_PROBES) {