httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pque...@apache.org
Subject svn commit: r723679 - /httpd/httpd/trunk/modules/cluster/mod_heartmonitor.c
Date Fri, 05 Dec 2008 09:20:20 GMT
Author: pquerna
Date: Fri Dec  5 01:20:19 2008
New Revision: 723679

URL: http://svn.apache.org/viewvc?rev=723679&view=rev
Log:
Also init mutex_path in hm_create_config.
Suggested by: Ruediger Pluem

Modified:
    httpd/httpd/trunk/modules/cluster/mod_heartmonitor.c

Modified: httpd/httpd/trunk/modules/cluster/mod_heartmonitor.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/cluster/mod_heartmonitor.c?rev=723679&r1=723678&r2=723679&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/cluster/mod_heartmonitor.c (original)
+++ httpd/httpd/trunk/modules/cluster/mod_heartmonitor.c Fri Dec  5 01:20:19 2008
@@ -491,6 +491,8 @@
 
     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;
 }



Mime
View raw message