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_vhostdb_ldap.c | |
parent | 1194e6d24b92d1bdac60eb07ef45ad726d479654 (diff) | |
download | lighttpd-git-f2610d23e242e96b49b115081c094206cca3e00d.tar.gz |
[multiple] use buffer_append_char()
Diffstat (limited to 'src/mod_vhostdb_ldap.c')
-rw-r--r-- | src/mod_vhostdb_ldap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mod_vhostdb_ldap.c b/src/mod_vhostdb_ldap.c index 50e19ede..c832d868 100644 --- a/src/mod_vhostdb_ldap.c +++ b/src/mod_vhostdb_ldap.c @@ -74,7 +74,7 @@ static void mod_vhostdb_dbconf_add_scheme (server *srv, buffer *host) while (*e!=' '&&*e!='\t'&&*e!='\r'&&*e!='\n'&&*e!=','&&*e!='\0') ++e; if (!buffer_is_blank(tb)) - buffer_append_string_len(tb, CONST_STR_LEN(",")); + buffer_append_char(tb, ','); for (j = 0; j < sizeof(schemes)/sizeof(char *); ++j) { if (buffer_eq_icase_ssn(b, schemes[j], strlen(schemes[j]))) { break; |