diff options
author | Glenn Strauss <gstrauss@gluelogic.com> | 2019-10-13 04:59:57 -0400 |
---|---|---|
committer | Glenn Strauss <gstrauss@gluelogic.com> | 2020-02-24 11:15:32 -0500 |
commit | 601c572c3924be5e69a122bce81a9b57a7f985ae (patch) | |
tree | 554cd4465d74aa3163848d714930568c46721937 /src/mod_userdir.c | |
parent | b7942c58cc6c028754340c9f8ded0f6cd1b43363 (diff) | |
download | lighttpd-git-601c572c3924be5e69a122bce81a9b57a7f985ae.tar.gz |
[core] inline buffer as part of data_string value
(instead of value being (buffer *))
Diffstat (limited to 'src/mod_userdir.c')
-rw-r--r-- | src/mod_userdir.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mod_userdir.c b/src/mod_userdir.c index 72131e74..097d2315 100644 --- a/src/mod_userdir.c +++ b/src/mod_userdir.c @@ -240,7 +240,7 @@ URIHANDLER_FUNC(mod_userdir_docroot_handler) { for (k = 0; k < p->conf.exclude_user->used; k++) { data_string *ds = (data_string *)p->conf.exclude_user->data[k]; - if (buffer_is_equal(ds->value, p->username)) { + if (buffer_is_equal(&ds->value, p->username)) { /* user in exclude list */ return HANDLER_GO_ON; } @@ -251,7 +251,7 @@ URIHANDLER_FUNC(mod_userdir_docroot_handler) { for (k = 0; k < p->conf.include_user->used; k++) { data_string *ds = (data_string *)p->conf.include_user->data[k]; - if (buffer_is_equal(ds->value, p->username)) { + if (buffer_is_equal(&ds->value, p->username)) { /* user in include list */ found_user = 1; break; |