Skip to content
Snippets Groups Projects
Commit 152611dd authored by George Kiagiadakis's avatar George Kiagiadakis
Browse files

parser-endpoint: fix typo; initialize endpoint priority instead of reseting the match one

parent e10b0f87
No related branches found
No related tags found
No related merge requests found
......@@ -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 */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment