summaryrefslogtreecommitdiffstats
path: root/server/mpm_common.c
diff options
context:
space:
mode:
authorJeff Trawick <trawick@apache.org>2011-03-26 19:36:11 +0100
committerJeff Trawick <trawick@apache.org>2011-03-26 19:36:11 +0100
commit72456d0231723bd4498ae126e48db650186aec7f (patch)
tree4a9e8791e897958e12ffd2c4c6974b8302a40f94 /server/mpm_common.c
parentUpdate. (diff)
downloadapache2-72456d0231723bd4498ae126e48db650186aec7f.tar.xz
apache2-72456d0231723bd4498ae126e48db650186aec7f.zip
use apr_time_from_sec() shortcut
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1085779 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'server/mpm_common.c')
-rw-r--r--server/mpm_common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/mpm_common.c b/server/mpm_common.c
index abcec7d88f..153975cf50 100644
--- a/server/mpm_common.c
+++ b/server/mpm_common.c
@@ -130,7 +130,7 @@ void ap_wait_or_timeout(apr_exit_why_e *status, int *exitcode, apr_proc_t *ret,
return;
}
- apr_sleep(1000000);
+ apr_sleep(apr_time_from_sec(1));
ret->pid = -1;
return;
}