]> granicus.if.org Git - apache/commitdiff
The rest of this cache display method just writes its response, and the caller doesn't
authorEric Covener <covener@apache.org>
Fri, 4 Jun 2010 02:03:57 +0000 (02:03 +0000)
committerEric Covener <covener@apache.org>
Fri, 4 Jun 2010 02:03:57 +0000 (02:03 +0000)
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

modules/ldap/util_ldap_cache_mgr.c

index 085dd1da4d93bdf9b9aa7dc061a72b3fba73c3ae..09be4e2f288ad7f8c2a05e46cb30c7c18293ca02 100644 (file)
@@ -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)) {