From: Greg Stein Date: Tue, 23 May 2000 23:32:35 +0000 (+0000) Subject: use the correct size for 'ret' X-Git-Tag: APACHE_2_0_ALPHA_4~92 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=026c77c19da81e72b7957269f4764744d95bd0a2;p=thirdparty%2Fapache%2Fhttpd.git use the correct size for 'ret' git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85284 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/server/mpm_common.c b/server/mpm_common.c index 990469fd515..57cea632547 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_pcalloc(p, sizeof(ret)); + ap_proc_t *ret = ap_pcalloc(p, sizeof(*ret)); ++wait_or_timeout_counter; if (wait_or_timeout_counter == INTERVAL_OF_WRITABLE_PROBES) {