aboutsummaryrefslogtreecommitdiffstats
path: root/src/db/plugins
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2014-01-26 15:50:30 +0100
committerMax Kellermann <max@duempel.org>2014-01-26 15:50:30 +0100
commit3dad837ca692df4eecee9c16fd9155b4ca23e289 (patch)
treeafbf6b530e6df225d565dcff741bb917f64d4de1 /src/db/plugins
parentd7e78059b02c79ba59eb4a687496a64060246a30 (diff)
downloadmpd-3dad837ca692df4eecee9c16fd9155b4ca23e289.tar.gz
mpd-3dad837ca692df4eecee9c16fd9155b4ca23e289.tar.xz
mpd-3dad837ca692df4eecee9c16fd9155b4ca23e289.zip
db/upnp: remove sleep(2) call
This call was unnecessary. It is a bad idea anyway to block the MPD process for some arbitrary amount of time.
Diffstat (limited to '')
-rw-r--r--src/db/plugins/UpnpDatabasePlugin.cxx3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/db/plugins/UpnpDatabasePlugin.cxx b/src/db/plugins/UpnpDatabasePlugin.cxx
index efc602be6..c921d5460 100644
--- a/src/db/plugins/UpnpDatabasePlugin.cxx
+++ b/src/db/plugins/UpnpDatabasePlugin.cxx
@@ -185,9 +185,6 @@ UpnpDatabase::Open(Error &error)
return false;
}
- // Wait for device answers. This should be consistent with the value set
- // in the lib (currently 2)
- sleep(2);
return true;
}