summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/pa-sink-ctl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pa-sink-ctl.c b/src/pa-sink-ctl.c
index dbd6d19..0ec72ab 100644
--- a/src/pa-sink-ctl.c
+++ b/src/pa-sink-ctl.c
@@ -41,7 +41,7 @@ get_sink_priority(struct context *ctx, const pa_sink_info *sink_info)
list_foreach(ctx->config.priorities, p)
if (g_strcmp0(pa_proplist_gets(sink_info->proplist, p->match),
- p->value))
+ p->value) == 0)
return p->priority;
return 0;