]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
use the correct size for 'ret'
authorGreg Stein <gstein@apache.org>
Tue, 23 May 2000 23:32:35 +0000 (23:32 +0000)
committerGreg Stein <gstein@apache.org>
Tue, 23 May 2000 23:32:35 +0000 (23:32 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85284 13f79535-47bb-0310-9956-ffa450edef68

server/mpm_common.c

index 990469fd515a3ca82d31d1f382329848c7dd7d40..57cea6325478d5f0e77a412608bc3f78ae7b4b2e 100644 (file)
@@ -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) {