diff options
author | Jeff Trawick <trawick@apache.org> | 2011-07-14 16:47:59 +0200 |
---|---|---|
committer | Jeff Trawick <trawick@apache.org> | 2011-07-14 16:47:59 +0200 |
commit | 7eb1caed9a4f9ac52f0cd59dda3c1df2a68d39e1 (patch) | |
tree | d2aedb6250dd6956cf2400d36bc706c6465d8095 /modules/cluster | |
parent | Update. (diff) | |
download | apache2-7eb1caed9a4f9ac52f0cd59dda3c1df2a68d39e1.tar.xz apache2-7eb1caed9a4f9ac52f0cd59dda3c1df2a68d39e1.zip |
fix def'n of AP_SLOTMEM_PROVIDER_VERSION, use it
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1146737 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'modules/cluster')
-rw-r--r-- | modules/cluster/mod_heartmonitor.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/cluster/mod_heartmonitor.c b/modules/cluster/mod_heartmonitor.c index f2240c66f2..1ec1dc803c 100644 --- a/modules/cluster/mod_heartmonitor.c +++ b/modules/cluster/mod_heartmonitor.c @@ -683,7 +683,8 @@ static int hm_post_config(apr_pool_t *p, apr_pool_t *plog, if (ap_state_query(AP_SQ_MAIN_STATE) == AP_SQ_MS_CREATE_CONFIG) { /* this is the real thing */ if (maxworkers) { - storage = ap_lookup_provider(AP_SLOTMEM_PROVIDER_GROUP, "shared", "0"); + storage = ap_lookup_provider(AP_SLOTMEM_PROVIDER_GROUP, "shared", + AP_SLOTMEM_PROVIDER_VERSION); if (!storage) { ap_log_error(APLOG_MARK, APLOG_NOERRNO|APLOG_EMERG, 0, s, "ap_lookup_provider %s failed", AP_SLOTMEM_PROVIDER_GROUP); return !OK; |