diff options
author | Max Kellermann <max@duempel.org> | 2015-06-25 23:14:40 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2015-06-25 23:15:36 +0200 |
commit | eb86fdfbea6254d6966e59d80b43af3e5152fe3f (patch) | |
tree | c41d5e1a2b3750ec2c5b34155fbfb6bbdeb0dc5d /src/db/plugins/upnp | |
parent | c7712e2ef0232a39786075dbf6683120cfe5cc0a (diff) | |
download | mpd-eb86fdfbea6254d6966e59d80b43af3e5152fe3f.tar.gz mpd-eb86fdfbea6254d6966e59d80b43af3e5152fe3f.tar.xz mpd-eb86fdfbea6254d6966e59d80b43af3e5152fe3f.zip |
SongFilter: return "const char *" instead of std::string
Diffstat (limited to 'src/db/plugins/upnp')
-rw-r--r-- | src/db/plugins/upnp/UpnpDatabasePlugin.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/db/plugins/upnp/UpnpDatabasePlugin.cxx b/src/db/plugins/upnp/UpnpDatabasePlugin.cxx index 9d2d00eb6..035c310f9 100644 --- a/src/db/plugins/upnp/UpnpDatabasePlugin.cxx +++ b/src/db/plugins/upnp/UpnpDatabasePlugin.cxx @@ -303,7 +303,7 @@ UpnpDatabase::SearchSongs(const ContentDirectoryService &server, } else { cond += " = "; } - dquote(cond, item.GetValue().c_str()); + dquote(cond, item.GetValue()); } cond += ')'; } @@ -339,7 +339,7 @@ UpnpDatabase::SearchSongs(const ContentDirectoryService &server, } else { cond += " = "; } - dquote(cond, item.GetValue().c_str()); + dquote(cond, item.GetValue()); } } |