aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pulsemix.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pulsemix.c b/pulsemix.c
index ea9e7d5..efb8b07 100644
--- a/pulsemix.c
+++ b/pulsemix.c
@@ -208,7 +208,7 @@ static void sink_add_cb(pa_context UNUSED *c, const pa_sink_info *i, int eol,
pulse->sink = sink;
else {
s = pulse->sink;
- s->next_sink = sink;
+ sink->next_sink = s;
pulse->sink = sink;
}
}