summaryrefslogtreecommitdiffstats
path: root/modules/ldap/util_ldap_cache_mgr.c
diff options
context:
space:
mode:
authorEric Covener <covener@apache.org>2010-06-04 04:03:57 +0200
committerEric Covener <covener@apache.org>2010-06-04 04:03:57 +0200
commit56e25c48e80ac8296134cc89327bc514d2272906 (patch)
treeb16edd643be6c57204f896cd384e0cd8a3282d3b /modules/ldap/util_ldap_cache_mgr.c
parentwhen we actually get a per-server config in a vhost, the shared memory (diff)
downloadapache2-56e25c48e80ac8296134cc89327bc514d2272906.tar.xz
apache2-56e25c48e80ac8296134cc89327bc514d2272906.zip
The rest of this cache display method just writes its response, and the caller doesn't
care about the returned string. Issue a message to complete the /ldap-status cache handler page which otherwise looks truncated. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@951237 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'modules/ldap/util_ldap_cache_mgr.c')
-rw-r--r--modules/ldap/util_ldap_cache_mgr.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/ldap/util_ldap_cache_mgr.c b/modules/ldap/util_ldap_cache_mgr.c
index 085dd1da4d..09be4e2f28 100644
--- a/modules/ldap/util_ldap_cache_mgr.c
+++ b/modules/ldap/util_ldap_cache_mgr.c
@@ -662,7 +662,8 @@ char *util_ald_cache_display(request_rec *r, util_ldap_state_t *st)
if (!util_ldap_cache) {
- return "<tr valign='top'><td nowrap colspan=7>Cache has not been enabled/initialised.</td></tr>";
+ ap_rputs("<tr valign='top'><td nowrap colspan=7>Cache has not been enabled/initialised.</td></tr>", r);
+ return NULL;
}
if (r->args && strlen(r->args)) {