summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2009-02-04 18:32:15 +0100
committerLennart Poettering <lennart@poettering.net>2009-02-04 18:32:15 +0100
commit786398dc6312263ec4a14abd474fd0fd3def1ea4 (patch)
treea723125cc07db381ecc08686462b8a21514736f5
parent1db64781bf514e6bb04685d428ecb6347af23ce9 (diff)
fix a validity check
-rw-r--r--src/modules/module-stream-restore.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/module-stream-restore.c b/src/modules/module-stream-restore.c
index 144419259..65cdcbe60 100644
--- a/src/modules/module-stream-restore.c
+++ b/src/modules/module-stream-restore.c
@@ -240,7 +240,7 @@ static pa_bool_t entries_equal(const struct entry *a, const struct entry *b) {
return FALSE;
if (a->muted_valid != b->muted_valid ||
- (a->muted && (a->muted != b->muted)))
+ (a->muted_valid && (a->muted != b->muted)))
return FALSE;
t = b->relative_volume;