From: helge Date: Wed, 17 Nov 2004 15:17:03 +0000 (+0000) Subject: milli => micro X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5d3dd380c2cc1c2e72e07c2e5aa4b7e5ae2dca60;p=sope milli => micro git-svn-id: http://svn.opengroupware.org/SOPE/trunk@386 e4a50df8-12e2-0310-a44c-efbce7f8a7e3 --- diff --git a/sope-appserver/mod_ngobjweb/ChangeLog b/sope-appserver/mod_ngobjweb/ChangeLog index ae34a7d8..cbf5c615 100644 --- a/sope-appserver/mod_ngobjweb/ChangeLog +++ b/sope-appserver/mod_ngobjweb/ChangeLog @@ -1,7 +1,7 @@ 2004-11-17 Helge Hess * handler.c (_connectInstance): fixed apr_sleep for Apache 2 which now - requires milliseconds (thanks Christophe Bernard for pointing that + requires microseconds (thanks Christophe Bernard for pointing that out!) 2004-09-20 Helge Hess diff --git a/sope-appserver/mod_ngobjweb/handler.c b/sope-appserver/mod_ngobjweb/handler.c index c53f1735..afdb89e7 100644 --- a/sope-appserver/mod_ngobjweb/handler.c +++ b/sope-appserver/mod_ngobjweb/handler.c @@ -203,7 +203,7 @@ static int _connectInstance(request_rec *r, #ifdef AP_VERSION_1 apr_sleep(delay); /* should be in seconds for Apache 1? */ #else - apr_sleep(delay * 1000 /* in ms now! */); + apr_sleep(delay * 1000 * 1000 /* in microseconds now! */); #endif ap_log_error(__FILE__, __LINE__, APLOG_INFO, 0, r->server,