You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by co...@apache.org on 2010/06/04 04:03:57 UTC

svn commit: r951237 - /httpd/httpd/trunk/modules/ldap/util_ldap_cache_mgr.c

Author: covener
Date: Fri Jun  4 02:03:57 2010
New Revision: 951237

URL: http://svn.apache.org/viewvc?rev=951237&view=rev
Log:
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.


Modified:
    httpd/httpd/trunk/modules/ldap/util_ldap_cache_mgr.c

Modified: httpd/httpd/trunk/modules/ldap/util_ldap_cache_mgr.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/ldap/util_ldap_cache_mgr.c?rev=951237&r1=951236&r2=951237&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/ldap/util_ldap_cache_mgr.c (original)
+++ httpd/httpd/trunk/modules/ldap/util_ldap_cache_mgr.c Fri Jun  4 02:03:57 2010
@@ -662,7 +662,8 @@ char *util_ald_cache_display(request_rec
 
 
     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)) {