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/http_range.c | |
parent | 1194e6d24b92d1bdac60eb07ef45ad726d479654 (diff) | |
download | lighttpd-git-f2610d23e242e96b49b115081c094206cca3e00d.tar.gz |
[multiple] use buffer_append_char()
Diffstat (limited to 'src/http_range.c')
-rw-r--r-- | src/http_range.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/http_range.c b/src/http_range.c index dfeaa935..788f3041 100644 --- a/src/http_range.c +++ b/src/http_range.c @@ -246,9 +246,9 @@ http_range_multi (request_st * const r, /* generate boundary-header including Content-Type and Content-Range */ buffer_truncate(tb, prefix_len); buffer_append_int(tb, ranges[i]); - buffer_append_string_len(tb, CONST_STR_LEN("-")); + buffer_append_char(tb, '-'); buffer_append_int(tb, ranges[i+1]); - buffer_append_string_len(tb, CONST_STR_LEN("/")); + buffer_append_char(tb, '/'); buffer_append_int(tb, complete_length); buffer_append_string_len(tb, CONST_STR_LEN("\r\n\r\n")); if (c) /* single MEM_CHUNK in original cq; not using mem_min */ |