From 16ffb52cbf4234a34e6eba45bdd1688c7155ecf1 Mon Sep 17 00:00:00 2001 From: Ghislain MARY Date: Wed, 30 Nov 2016 11:40:50 +0100 Subject: [PATCH] WTF???!!!! Copy/paste should be banished! --- daemon/daemon.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/daemon/daemon.cc b/daemon/daemon.cc index 84bda58f3..84324a2e6 100644 --- a/daemon/daemon.cc +++ b/daemon/daemon.cc @@ -430,9 +430,9 @@ int Daemon::updateAudioStreamId(AudioStream *audio_stream) { return it->first; } - ++mProxyIds; - mAudioStreams.insert(make_pair(mProxyIds, new AudioStreamAndOther(audio_stream))); - return mProxyIds; + ++mAudioStreamIds; + mAudioStreams.insert(make_pair(mAudioStreamIds, new AudioStreamAndOther(audio_stream))); + return mAudioStreamIds; } AudioStreamAndOther *Daemon::findAudioStreamAndOther(int id) {