summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--modules/generators/mod_autoindex.c2
-rw-r--r--modules/proxy/mod_proxy_balancer.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/modules/generators/mod_autoindex.c b/modules/generators/mod_autoindex.c
index bfcd8114f6..78a774ef15 100644
--- a/modules/generators/mod_autoindex.c
+++ b/modules/generators/mod_autoindex.c
@@ -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,
diff --git a/modules/proxy/mod_proxy_balancer.c b/modules/proxy/mod_proxy_balancer.c
index de3a0490ac..0429ac91f8 100644
--- a/modules/proxy/mod_proxy_balancer.c
+++ b/modules/proxy/mod_proxy_balancer.c
@@ -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);