diff options
author | Max Kellermann <max@duempel.org> | 2014-01-22 21:55:58 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2014-01-22 21:55:58 +0100 |
commit | 4943606f4a240e04ad3fdd0c9f28d4f8c58591ed (patch) | |
tree | 58a7e6af1f1ad455dbe39ab77358b847534402fd | |
parent | 87629dda81a8ccc9b35f0cf1987fc4620ce2f054 (diff) | |
download | mpd-4943606f4a240e04ad3fdd0c9f28d4f8c58591ed.tar.gz mpd-4943606f4a240e04ad3fdd0c9f28d4f8c58591ed.tar.xz mpd-4943606f4a240e04ad3fdd0c9f28d4f8c58591ed.zip |
db/upnp: append characters instead of single-character strings
Diffstat (limited to '')
-rw-r--r-- | src/db/UpnpDatabasePlugin.cxx | 4 |
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; |