From: Paul Querna Date: Fri, 5 Dec 2008 09:20:19 +0000 (+0000) Subject: Also init mutex_path in hm_create_config. X-Git-Tag: 2.3.0~18 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b2d3c5d5a5553498f004315426466734170a0403;p=thirdparty%2Fapache%2Fhttpd.git 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 --- diff --git a/modules/cluster/mod_heartmonitor.c b/modules/cluster/mod_heartmonitor.c index 130e55ae860..86ed93402cf 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; }