aboutsummaryrefslogtreecommitdiffstats
path: root/src/Expat.hxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2014-01-19 11:37:42 +0100
committerMax Kellermann <max@duempel.org>2014-01-19 11:37:42 +0100
commit738d6f10409037fbf8aa30cec5aceb121e21e230 (patch)
treedae34c32150de1148b88df9599a365414b78e507 /src/Expat.hxx
parentba372197fbda68d72857585008061ca5f781f805 (diff)
downloadmpd-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/Expat.hxx')
0 files changed, 0 insertions, 0 deletions