diff options
author | Max Kellermann <max@duempel.org> | 2014-01-19 11:37:42 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2014-01-19 11:37:42 +0100 |
commit | 738d6f10409037fbf8aa30cec5aceb121e21e230 (patch) | |
tree | dae34c32150de1148b88df9599a365414b78e507 /src/DatabaseSelection.hxx | |
parent | ba372197fbda68d72857585008061ca5f781f805 (diff) | |
download | mpd-738d6f10409037fbf8aa30cec5aceb121e21e230.tar.gz mpd-738d6f10409037fbf8aa30cec5aceb121e21e230.tar.xz mpd-738d6f10409037fbf8aa30cec5aceb121e21e230.zip |
db/proxy: simplify error handling in GetSong()
Check mpd_response_finish() before using mpd_song. Don't skip this
check even if the mpd_song is non-nullptr.
Diffstat (limited to 'src/DatabaseSelection.hxx')
0 files changed, 0 insertions, 0 deletions