use the correct size for 'ret'

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85284 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Greg Stein
2000-05-23 23:32:35 +00:00
parent ea432e5602
commit 026c77c19d

View 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) {