diff options
author | Christophe Jaillet <jailletc36@apache.org> | 2014-09-18 21:06:52 +0200 |
---|---|---|
committer | Christophe Jaillet <jailletc36@apache.org> | 2014-09-18 21:06:52 +0200 |
commit | a9c4c3a37d0e4fcf50048d9e5cbdea2eb6aa996d (patch) | |
tree | 138ea746247e80a22af53dc817d905a8973d5814 /modules/arch | |
parent | prepend 0 (diff) | |
download | apache2-a9c4c3a37d0e4fcf50048d9e5cbdea2eb6aa996d.tar.xz apache2-a9c4c3a37d0e4fcf50048d9e5cbdea2eb6aa996d.zip |
Concat string at compile time when possible.
Doing so, sometimes also give the opportunity to turn a 'ap_fputstrs' into a 'ap_fputs'.
PR 53741
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1626050 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'modules/arch')
-rw-r--r-- | modules/arch/netware/mod_nw_ssl.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/arch/netware/mod_nw_ssl.c b/modules/arch/netware/mod_nw_ssl.c index cf535d33e2..d34430023e 100644 --- a/modules/arch/netware/mod_nw_ssl.c +++ b/modules/arch/netware/mod_nw_ssl.c @@ -1192,8 +1192,8 @@ static apr_status_t ssl_io_filter_Upgrade(ap_filter_t *f, /* Send the interim 101 response. */ upgradebb = apr_brigade_create(r->pool, f->c->bucket_alloc); - ap_fputstrs(f->next, upgradebb, SWITCH_STATUS_LINE, CRLF, - UPGRADE_HEADER, CRLF, CONNECTION_HEADER, CRLF, CRLF, NULL); + ap_fputs(f->next, upgradebb, SWITCH_STATUS_LINE CRLF + UPGRADE_HEADER CRLF CONNECTION_HEADER CRLF CRLF); b = apr_bucket_flush_create(f->c->bucket_alloc); APR_BRIGADE_INSERT_TAIL(upgradebb, b); |