From 7bf3e4012d032a94c21bb4dc47bca5832ac491b7 Mon Sep 17 00:00:00 2001 From: Eric Covener Date: Sun, 13 Sep 2009 23:54:23 +0000 Subject: [PATCH] Bring the LDAPCacheEntries and LDAPOpCacheEntries usage() in synch with the manual and the implementation (0 and -1 both disable the cache). PR 40948 git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@814441 13f79535-47bb-0310-9956-ffa450edef68 --- modules/ldap/util_ldap.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/modules/ldap/util_ldap.c b/modules/ldap/util_ldap.c index 0d22949f15..d01945a2e0 100644 --- a/modules/ldap/util_ldap.c +++ b/modules/ldap/util_ldap.c @@ -2660,9 +2660,9 @@ static const command_rec util_ldap_cmds[] = { AP_INIT_TAKE1("LDAPCacheEntries", util_ldap_set_cache_entries, NULL, RSRC_CONF, "Set the maximum number of entries that are possible in the " - "LDAP search cache. Use 0 for no limit. " - "-1 disables the cache. (default: 1024)"), - + "LDAP search cache. Use 0 or -1 to disable the search cache " + "(default: 1024)"), + AP_INIT_TAKE1("LDAPCacheTTL", util_ldap_set_cache_ttl, NULL, RSRC_CONF, "Set the maximum time (in seconds) that an item can be " @@ -2672,8 +2672,8 @@ static const command_rec util_ldap_cmds[] = { AP_INIT_TAKE1("LDAPOpCacheEntries", util_ldap_set_opcache_entries, NULL, RSRC_CONF, "Set the maximum number of entries that are possible " - "in the LDAP compare cache. Use 0 for no limit. " - "Use -1 to disable the cache. (default: 1024)"), + "in the LDAP compare cache. Use 0 or -1 to disable the compare cache " + "(default: 1024)"), AP_INIT_TAKE1("LDAPOpCacheTTL", util_ldap_set_opcache_ttl, NULL, RSRC_CONF, -- 2.50.1