summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: f9c7a70)
raw | patch | inline | side by side (parent: f9c7a70)
author | Max Kellermann <max@duempel.org> | |
Tue, 29 Sep 2009 18:58:01 +0000 (20:58 +0200) | ||
committer | Max Kellermann <max@duempel.org> | |
Tue, 29 Sep 2009 18:58:01 +0000 (20:58 +0200) |
src/screen_outputs.c | patch | blob | history |
diff --git a/src/screen_outputs.c b/src/screen_outputs.c
index a91f634b1d499641ec021c82e2fe24f9f7878dfd..883e3c9a9a80886407747432aafe05863e504f98 100644 (file)
--- a/src/screen_outputs.c
+++ b/src/screen_outputs.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 *