From 4943606f4a240e04ad3fdd0c9f28d4f8c58591ed Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Wed, 22 Jan 2014 21:55:58 +0100 Subject: [PATCH] db/upnp: append characters instead of single-character strings --- src/db/UpnpDatabasePlugin.cxx | 4 ++-- 1 file 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;