aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/upnp/Discovery.hxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2015-02-03 23:48:11 +0100
committerMax Kellermann <max@duempel.org>2015-02-03 23:48:11 +0100
commit833ec3d3cdb206dc41420e067874e355569bd225 (patch)
treed595a741af13803f8338967ebfc962861532edbe /src/lib/upnp/Discovery.hxx
parent3d446d3266e11fd6618a8caca3c31ef0cfededc0 (diff)
downloadmpd-833ec3d3cdb206dc41420e067874e355569bd225.tar.gz
mpd-833ec3d3cdb206dc41420e067874e355569bd225.tar.xz
mpd-833ec3d3cdb206dc41420e067874e355569bd225.zip
lib/upnp/Discovery: remove locking from ExpireDevices()
Diffstat (limited to 'src/lib/upnp/Discovery.hxx')
-rw-r--r--src/lib/upnp/Discovery.hxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/upnp/Discovery.hxx b/src/lib/upnp/Discovery.hxx
index 970fb306e..1cf82b77e 100644
--- a/src/lib/upnp/Discovery.hxx
+++ b/src/lib/upnp/Discovery.hxx
@@ -138,6 +138,8 @@ private:
* Look at the devices and get rid of those which have not
* been seen for too long. We do this when listing the top
* directory.
+ *
+ * Caller must lock #mutex.
*/
bool ExpireDevices(Error &error);