]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
mod_http2: fixed speling error.
authorStefan Eissing <icing@apache.org>
Thu, 23 Sep 2021 13:54:05 +0000 (13:54 +0000)
committerStefan Eissing <icing@apache.org>
Thu, 23 Sep 2021 13:54:05 +0000 (13:54 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1893564 13f79535-47bb-0310-9956-ffa450edef68

modules/http2/h2_workers.c

index 9657ec12896c4cb7d9a040e0b0d969587d12400c..28bb428200d6954af9bfd07297931aa38cad8c9a 100644 (file)
@@ -319,7 +319,7 @@ static void workers_abort_idle(h2_workers *workers)
 static apr_status_t workers_pool_cleanup(void *data)
 {
     h2_workers *workers = data;
-    apr_time_t end, timout = apr_time_from_sec(1);
+    apr_time_t end, timeout = apr_time_from_sec(1);
     apr_status_t rv;
     int n, wait_sec = 5;
 
@@ -336,7 +336,7 @@ static apr_status_t workers_pool_cleanup(void *data)
     end = apr_time_now() + apr_time_from_sec(wait_sec);
     while ((n = apr_atomic_read32(&workers->worker_count)) > 0
            && apr_time_now() < end) {
-        rv = apr_thread_cond_timedwait(workers->all_done, workers->lock, timout);
+        rv = apr_thread_cond_timedwait(workers->all_done, workers->lock, timeout);
         if (APR_TIMEUP == rv) {
             ap_log_error(APLOG_MARK, APLOG_DEBUG, 0, workers->s,
                          APLOGNO(10290) "h2_workers: waiting for idle workers to close, "