Merge remote-tracking branches 'neheb/bind', 'neheb/move' and 'neheb/str'

This commit is contained in:
Max Kellermann
2020-02-04 17:03:49 +01:00
17 changed files with 50 additions and 46 deletions

View File

@@ -37,7 +37,7 @@ ContentDirectoryService::ContentDirectoryService(const UPnPDevice &device,
m_modelName(device.modelName),
m_rdreqcnt(200)
{
if (!m_modelName.compare("MediaTomb")) {
if (m_modelName == "MediaTomb") {
// Readdir by 200 entries is good for most, but MediaTomb likes
// them really big. Actually 1000 is better but I don't dare
m_rdreqcnt = 500;