From: Max Kellermann Date: Tue, 29 Sep 2009 18:58:01 +0000 (+0200) Subject: screen_outputs: finish response in fill_outputs_list() X-Git-Tag: release-0.16~303 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=b4e56aa95d84c0c3bbf34a7627c90d9f3fec08e0;p=ncmpc.git screen_outputs: finish response in fill_outputs_list() --- diff --git a/src/screen_outputs.c b/src/screen_outputs.c index a91f634..883e3c9 100644 --- a/src/screen_outputs.c +++ b/src/screen_outputs.c @@ -114,6 +114,9 @@ fill_outputs_list(struct mpdclient *c) while ((output = mpd_recv_output(c->connection)) != NULL) { g_ptr_array_add(mpd_outputs, output); } + + if (!mpd_response_finish(c->connection)) + mpdclient_handle_error(c); } static const char *