]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
Also init mutex_path in hm_create_config.
authorPaul Querna <pquerna@apache.org>
Fri, 5 Dec 2008 09:20:19 +0000 (09:20 +0000)
committerPaul Querna <pquerna@apache.org>
Fri, 5 Dec 2008 09:20:19 +0000 (09:20 +0000)
Suggested by: Ruediger Pluem

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

modules/cluster/mod_heartmonitor.c

index 130e55ae8603ead1038b5f8e7d9ff7e20cb873b3..86ed93402cf1ff410183d62522ed227b24452db5 100644 (file)
@@ -491,6 +491,8 @@ static void *hm_create_config(apr_pool_t *p, server_rec *s)
 
     ctx->active = 0;
     ctx->storage_path = ap_server_root_relative(p, "logs/hb.dat");
+    ctx->mutex_path = 
+        ap_server_root_relative(p, apr_pstrcat(p, ctx->storage_path, ".hm-lock", NULL));
 
     return ctx;
 }