diff options
author | Eric Covener <covener@apache.org> | 2010-06-04 04:03:57 +0200 |
---|---|---|
committer | Eric Covener <covener@apache.org> | 2010-06-04 04:03:57 +0200 |
commit | 56e25c48e80ac8296134cc89327bc514d2272906 (patch) | |
tree | b16edd643be6c57204f896cd384e0cd8a3282d3b /modules | |
parent | when we actually get a per-server config in a vhost, the shared memory (diff) | |
download | apache2-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')
-rw-r--r-- | modules/ldap/util_ldap_cache_mgr.c | 3 |
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)) { |