diff options
author | Glenn Strauss <gstrauss@gluelogic.com> | 2022-05-03 01:10:10 -0400 |
---|---|---|
committer | Glenn Strauss <gstrauss@gluelogic.com> | 2022-05-11 23:51:47 -0400 |
commit | f2610d23e242e96b49b115081c094206cca3e00d (patch) | |
tree | 5a91643123b35c77d37beab2debc24a477ffd275 /src/mod_ajp13.c | |
parent | 1194e6d24b92d1bdac60eb07ef45ad726d479654 (diff) | |
download | lighttpd-git-f2610d23e242e96b49b115081c094206cca3e00d.tar.gz |
[multiple] use buffer_append_char()
Diffstat (limited to 'src/mod_ajp13.c')
-rw-r--r-- | src/mod_ajp13.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mod_ajp13.c b/src/mod_ajp13.c index b5ac9a72..73069521 100644 --- a/src/mod_ajp13.c +++ b/src/mod_ajp13.c @@ -694,7 +694,7 @@ ajp13_expand_headers (buffer * const b, handler_ctx * const hctx, uint32_t plen) ptr += 2; if (plen < len+1) break; plen -= len+1; /* include -1 for ending '\0' */ - buffer_append_string_len(b, " ", 1); + buffer_append_char(b, ' '); if (len) buffer_append_string_len(b, (char *)ptr, len); ptr += len+1; |