aboutsummaryrefslogtreecommitdiffstats
path: root/src/db/upnp/Discovery.cxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2014-01-14 11:02:04 +0100
committerMax Kellermann <max@duempel.org>2014-01-14 11:07:00 +0100
commitc13facdaca7ee3c9ddb9ccc3e7b75654bc268276 (patch)
tree7de1404eef19abb7728fb49132888e7311c4a967 /src/db/upnp/Discovery.cxx
parente25947436284ec8d54d6ba0b18111bfa37df49c0 (diff)
downloadmpd-c13facdaca7ee3c9ddb9ccc3e7b75654bc268276.tar.gz
mpd-c13facdaca7ee3c9ddb9ccc3e7b75654bc268276.tar.xz
mpd-c13facdaca7ee3c9ddb9ccc3e7b75654bc268276.zip
db/upnp/WorkQueue: pass reference to take()
Diffstat (limited to 'src/db/upnp/Discovery.cxx')
-rw-r--r--src/db/upnp/Discovery.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/db/upnp/Discovery.cxx b/src/db/upnp/Discovery.cxx
index 9d2b8dbd0..89f01df2a 100644
--- a/src/db/upnp/Discovery.cxx
+++ b/src/db/upnp/Discovery.cxx
@@ -109,7 +109,7 @@ discoExplorer(void *)
{
for (;;) {
DiscoveredTask *tsk = 0;
- if (!discoveredQueue.take(&tsk)) {
+ if (!discoveredQueue.take(tsk)) {
discoveredQueue.workerExit();
return (void*)1;
}