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 */