From 152611dd3ffb60ab026edd52c0a6a4aa44207016 Mon Sep 17 00:00:00 2001 From: George Kiagiadakis Date: Wed, 18 Dec 2019 16:04:57 +0200 Subject: [PATCH] parser-endpoint: fix typo; initialize endpoint priority instead of reseting the match one --- modules/module-config-endpoint/parser-endpoint.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/module-config-endpoint/parser-endpoint.c b/modules/module-config-endpoint/parser-endpoint.c index 26bbcc29..d01859d2 100644 --- a/modules/module-config-endpoint/parser-endpoint.c +++ b/modules/module-config-endpoint/parser-endpoint.c @@ -154,7 +154,7 @@ wp_parser_endpoint_data_new (const gchar *location) res->e.direction = parse_endpoint_direction (direction); /* Get the priority from the endpoint table */ - res->mn.priority = 0; + res->e.priority = 0; wp_toml_table_get_uint32 (e, "priority", &res->e.priority); /* Get the endpoint properties */