]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
Use ap_rputs instead of ap_rvputs where applicable.
authorChristophe Jaillet <jailletc36@apache.org>
Fri, 7 Dec 2012 22:31:40 +0000 (22:31 +0000)
committerChristophe Jaillet <jailletc36@apache.org>
Fri, 7 Dec 2012 22:31:40 +0000 (22:31 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1418524 13f79535-47bb-0310-9956-ffa450edef68

modules/generators/mod_autoindex.c
modules/proxy/mod_proxy_balancer.c

index bfcd8114f668a42becbdc6dec67e66d193f8fa9e..78a774ef1537cfd5522fe00836ba80393f65432b 100644 (file)
@@ -191,7 +191,7 @@ static void emit_preamble(request_rec *r, int xhtml, const char *title)
     if (d->head_insert != NULL) {
         ap_rputs(d->head_insert, r);
     }
-    ap_rvputs(r, " </head>\n <body>\n", NULL);
+    ap_rputs(" </head>\n <body>\n", r);
 }
 
 static void push_item(apr_array_header_t *arr, char *type, const char *to,
index de3a0490acbbe7b2d12f83151f496dbf1473c795..0429ac91f8bddab6e2eb1c604552e9980df56332 100644 (file)
@@ -1549,7 +1549,7 @@ static int balancer_handler(request_rec *r)
                       "'>\n", NULL);
             ap_rvputs(r, "<input type=hidden name='nonce' id='nonce' value='",
                       bsel->s->nonce, "'>\n", NULL);
-            ap_rvputs(r, "</form>\n", NULL);
+            ap_rputs("</form>\n", r);
             ap_rputs("<hr />\n", r);
         } else if (bsel) {
             const apr_array_header_t *provs;
@@ -1599,7 +1599,7 @@ static int balancer_handler(request_rec *r)
                       "'>\n", NULL);
             ap_rvputs(r, "<input type=hidden name='nonce' id='nonce' value='",
                       bsel->s->nonce, "'>\n", NULL);
-            ap_rvputs(r, "</form>\n", NULL);
+            ap_rputs("</form>\n", r);
             ap_rputs("<hr />\n", r);
         }
         ap_rputs(ap_psignature("",r), r);