diff options
author | Max Kellermann <max@duempel.org> | 2014-01-26 15:50:30 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2014-01-26 15:50:30 +0100 |
commit | 3dad837ca692df4eecee9c16fd9155b4ca23e289 (patch) | |
tree | afbf6b530e6df225d565dcff741bb917f64d4de1 /src/db/plugins | |
parent | d7e78059b02c79ba59eb4a687496a64060246a30 (diff) | |
download | mpd-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.cxx | 3 |
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; } |