Skip to content
Snippets Groups Projects
Commit 104e90c9 authored by Julian Bouzas's avatar Julian Bouzas Committed by George Kiagiadakis
Browse files

modules: si-adapter: fix segfault when setting priority property

parent 61603417
No related branches found
No related tags found
No related merge requests found
......@@ -386,8 +386,8 @@ si_adapter_get_properties (WpSiEndpoint * item)
result = wp_properties_new (
PW_KEY_MEDIA_ROLE, self->role,
"endpoint.priority", self->priority,
NULL);
wp_properties_setf (result, "endpoint.priority", "%u", self->priority);
/* copy useful properties from the node */
node_props = wp_proxy_get_properties (WP_PROXY (self->node));
......
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