summaryrefslogtreecommitdiff
path: root/src/mod_skeleton.c
diff options
context:
space:
mode:
authorGlenn Strauss <gstrauss@gluelogic.com>2019-10-13 03:40:03 -0400
committerGlenn Strauss <gstrauss@gluelogic.com>2020-02-24 11:15:32 -0500
commit47a758f959846f948466e3cacc3b653c7fff98d2 (patch)
tree22158774f7eccbee8ac6a80b1c88a3b1ba739c5b /src/mod_skeleton.c
parentad9b7e009bb406042fdac5576b1970e891c08d35 (diff)
downloadlighttpd-git-47a758f959846f948466e3cacc3b653c7fff98d2.tar.gz
[core] inline buffer key for *_patch_connection()
handle buffer key as part of DATA_UNSET in *_patch_connection() (instead of key being (buffer *))
Diffstat (limited to 'src/mod_skeleton.c')
-rw-r--r--src/mod_skeleton.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mod_skeleton.c b/src/mod_skeleton.c
index 48efe648..c10954f1 100644
--- a/src/mod_skeleton.c
+++ b/src/mod_skeleton.c
@@ -135,7 +135,7 @@ static int mod_skeleton_patch_connection(server *srv, connection *con, plugin_da
for (size_t j = 0; j < dc->value->used; ++j) {
data_unset *du = dc->value->data[j];
- if (buffer_is_equal_string(du->key, CONST_STR_LEN("skeleton.array"))) {
+ if (buffer_is_equal_string(&du->key, CONST_STR_LEN("skeleton.array"))) {
PATCH(match);
}
}