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_scgi.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_scgi.c')
-rw-r--r-- | src/mod_scgi.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mod_scgi.c b/src/mod_scgi.c index eeca1f55..80aa682d 100644 --- a/src/mod_scgi.c +++ b/src/mod_scgi.c @@ -75,10 +75,10 @@ SETDEFAULTS_FUNC(mod_scgi_set_defaults) { if (NULL != (du = array_get_element_klen(config->value, CONST_STR_LEN("scgi.protocol")))) { const data_string *ds = (const data_string *)du; if (du->type == TYPE_STRING - && buffer_is_equal_string(ds->value, CONST_STR_LEN("scgi"))) { + && buffer_is_equal_string(&ds->value, CONST_STR_LEN("scgi"))) { s->proto = LI_PROTOCOL_SCGI; } else if (du->type == TYPE_STRING - && buffer_is_equal_string(ds->value, CONST_STR_LEN("uwsgi"))) { + && buffer_is_equal_string(&ds->value, CONST_STR_LEN("uwsgi"))) { s->proto = LI_PROTOCOL_UWSGI; } else { log_error_write(srv, __FILE__, __LINE__, "sss", |