]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
Fix a small bug/warning when compiling with use-maintiner-mode related
authorRyan Bloom <rbb@apache.org>
Tue, 23 May 2000 23:26:51 +0000 (23:26 +0000)
committerRyan Bloom <rbb@apache.org>
Tue, 23 May 2000 23:26:51 +0000 (23:26 +0000)
to the ap_proc_t change.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85283 13f79535-47bb-0310-9956-ffa450edef68

server/mpm_common.c

index cba30a701fbd971c7f4aaac9f7aa54c2e16ac24d..990469fd515a3ca82d31d1f382329848c7dd7d40 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_proc_t *ret = ap_pcalloc(p, sizeof(ret));
 
     ++wait_or_timeout_counter;
     if (wait_or_timeout_counter == INTERVAL_OF_WRITABLE_PROBES) {