aboutsummaryrefslogtreecommitdiffstats
path: root/src/db/UpnpDatabasePlugin.cxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2014-01-22 21:55:58 +0100
committerMax Kellermann <max@duempel.org>2014-01-22 21:55:58 +0100
commit4943606f4a240e04ad3fdd0c9f28d4f8c58591ed (patch)
tree58a7e6af1f1ad455dbe39ab77358b847534402fd /src/db/UpnpDatabasePlugin.cxx
parent87629dda81a8ccc9b35f0cf1987fc4620ce2f054 (diff)
downloadmpd-4943606f4a240e04ad3fdd0c9f28d4f8c58591ed.tar.gz
mpd-4943606f4a240e04ad3fdd0c9f28d4f8c58591ed.tar.xz
mpd-4943606f4a240e04ad3fdd0c9f28d4f8c58591ed.zip
db/upnp: append characters instead of single-character strings
Diffstat (limited to 'src/db/UpnpDatabasePlugin.cxx')
-rw-r--r--src/db/UpnpDatabasePlugin.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/db/UpnpDatabasePlugin.cxx b/src/db/UpnpDatabasePlugin.cxx
index cf2813933..75d3890ed 100644
--- a/src/db/UpnpDatabasePlugin.cxx
+++ b/src/db/UpnpDatabasePlugin.cxx
@@ -296,7 +296,7 @@ UpnpDatabase::SearchSongs(ContentDirectoryService &server,
if (!cond.empty()) {
cond += " and ";
}
- cond += "(";
+ cond += '(';
bool first(true);
for (const auto& cap : searchcaps) {
if (first)
@@ -311,7 +311,7 @@ UpnpDatabase::SearchSongs(ContentDirectoryService &server,
}
dquote(cond, item.GetValue().c_str());
}
- cond += ")";
+ cond += ')';
}
break;