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/network.c | |
parent | 1194e6d24b92d1bdac60eb07ef45ad726d479654 (diff) | |
download | lighttpd-git-f2610d23e242e96b49b115081c094206cca3e00d.tar.gz |
[multiple] use buffer_append_char()
Diffstat (limited to 'src/network.c')
-rw-r--r-- | src/network.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network.c b/src/network.c index e376455b..6fc6a840 100644 --- a/src/network.c +++ b/src/network.c @@ -849,7 +849,7 @@ int network_init(server *srv, int stdin_fd) { buffer_copy_buffer(b, srv->srvconf.bindhost); /*(skip adding port if unix socket path)*/ if (!b->ptr || (b->ptr[0] != '/' && b->ptr[0] != '\\')) { - buffer_append_string_len(b, CONST_STR_LEN(":")); + buffer_append_char(b, ':'); buffer_append_int(b, srv->srvconf.port); } #ifdef __COVERITY__ |