mpdclient: check source again after mpd_glib_leave()
commit911d7e95dc5f469938a6d06786f7c6651df02e17
authorMax Kellermann <max.kellermann@gmail.com>
Tue, 17 Oct 2017 13:56:06 +0000 (17 15:56 +0200)
committerMax Kellermann <max.kellermann@gmail.com>
Tue, 17 Oct 2017 13:56:06 +0000 (17 15:56 +0200)
treed0ba9ebb914a91c9117fb7c8d6321289495a2eb5
parentf507bd330a4bd1c3fd3208f6719864d32ab1e86f
mpdclient: check source again after mpd_glib_leave()

Just in case mpd_glib_leave() has found an error and had to close the
connection, check it again to avoid an assertion failure (or crash) in
mpdclient_schedule_enter_idle().

Closes #9
NEWS
src/mpdclient.c