sink, source: add missing stream "attached" flag handling
authorTanu Kaskinen <tanuk@iki.fi>
Wed, 7 Dec 2016 23:59:03 +0000 (01:59 +0200)
committerTanu Kaskinen <tanuk@iki.fi>
Mon, 19 Dec 2016 23:35:58 +0000 (01:35 +0200)
commitaf45c0e3cd5808aac712836e58a8e65189aa60a1
treeac3d2926acae60490649fdef39925c883143a8a1
parent539eb5c24418e3e473656da2f8ea5727754da037
sink, source: add missing stream "attached" flag handling

The functions that call attach()/detach() for all streams on a sink or
source didn't update the "attached" flag accordingly. Since the flag is
only used in assertions, this omission didn't cause any harm in normal
use.
src/pulsecore/sink.c
src/pulsecore/source.c