diff options
author | Benjamin Franzke <benjaminfranzke@googlemail.com> | 2011-12-15 13:37:18 +0100 |
---|---|---|
committer | Benjamin Franzke <benjaminfranzke@googlemail.com> | 2011-12-15 13:37:18 +0100 |
commit | 9e48ce1c7b87157921ce9dd695866073a8401899 (patch) | |
tree | 52e238c87bf78d7adcf0af6db46277d1fa7904fa /src | |
parent | 7703fe0007f15801faee07048e21b3d7f4b6716a (diff) | |
download | pa-sink-ctl-9e48ce1c7b87157921ce9dd695866073a8401899.tar.gz pa-sink-ctl-9e48ce1c7b87157921ce9dd695866073a8401899.tar.bz2 pa-sink-ctl-9e48ce1c7b87157921ce9dd695866073a8401899.zip |
Fix incorrect priority matching comparison
Diffstat (limited to 'src')
-rw-r--r-- | src/pa-sink-ctl.c | 2 |
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; |