Commit d9d4ac4c authored by Joe Orton's avatar Joe Orton
Browse files

* modules/ldap/util_ldap_cache_mgr.c (util_ald_cache_display): Replace

ap_rputs(apr_psprintf(...)) with simpler ap_rprintf(...).


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@225797 13f79535-47bb-0310-9956-ffa450edef68
parent 264efd47
Loading
Loading
Loading
Loading
+4 −4
Changes for modules/ldap/util_ldap_cache_mgr.c: 4 added lines, 4 removed lines.
Original line number Diff line number Diff line
@@ -576,7 +576,7 @@ char *util_ald_cache_display(request_rec *r, util_ldap_state_t *st)
                buf = "";
            }

            ap_rputs(apr_psprintf(r->pool, 
            ap_rprintf(r,
                       "<p>\n"
                       "<table border='0'>\n"
                       "<tr>\n"
@@ -587,7 +587,7 @@ char *util_ald_cache_display(request_rec *r, util_ldap_state_t *st)
                       buf,
                       cachetype[0] == 'm'? "Main" : 
                       (cachetype[0] == 's' ? "Search" : 
                                   (cachetype[0] == 'c' ? "Compares" : "DNCompares"))), r);
                        (cachetype[0] == 'c' ? "Compares" : "DNCompares")));
            
            switch (cachetype[0]) {
                case 'm':
@@ -597,7 +597,7 @@ char *util_ald_cache_display(request_rec *r, util_ldap_state_t *st)
                    else
                        date_str[0] = 0;

                    ap_rputs(apr_psprintf(r->pool, 
                    ap_rprintf(r,
                               "<p>\n"
                               "<table border='0'>\n"
                               "<tr>\n"
@@ -625,7 +625,7 @@ char *util_ald_cache_display(request_rec *r, util_ldap_state_t *st)
                               util_ldap_cache->maxentries,
                               util_ldap_cache->numentries,
                               util_ldap_cache->fullmark,
                        date_str), r);
                               date_str);

                    ap_rputs("<p>\n"
                             "<table border='0'>\n"