diff options
author | Paul Querna <pquerna@apache.org> | 2008-12-05 10:20:19 +0100 |
---|---|---|
committer | Paul Querna <pquerna@apache.org> | 2008-12-05 10:20:19 +0100 |
commit | b2d3c5d5a5553498f004315426466734170a0403 (patch) | |
tree | a5b7b42d9a65b7bd72fa1076cfca1519417dfc56 /modules/cluster | |
parent | Print the correct enum value for the lock mech. (diff) | |
download | apache2-b2d3c5d5a5553498f004315426466734170a0403.tar.xz apache2-b2d3c5d5a5553498f004315426466734170a0403.zip |
Also init mutex_path in hm_create_config.
Suggested by: Ruediger Pluem
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@723679 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'modules/cluster')
-rw-r--r-- | modules/cluster/mod_heartmonitor.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/cluster/mod_heartmonitor.c b/modules/cluster/mod_heartmonitor.c index 130e55ae86..86ed93402c 100644 --- a/modules/cluster/mod_heartmonitor.c +++ b/modules/cluster/mod_heartmonitor.c @@ -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; } |