X-Git-Url: https://git.tokkee.org/?p=ncmpc.git;a=blobdiff_plain;f=src%2Fscreen_outputs.c;h=888aa34f1f9edcbb970564e173f746443e5809db;hp=c755d2a22f595deae1068808f7ee400a45e0ccb1;hb=8ba6b8463c9b53bcd6b05574d639eb9ac099a37a;hpb=0bd10bf6d49e2b196d8f246e13028e9242c62bb3 diff --git a/src/screen_outputs.c b/src/screen_outputs.c index c755d2a..888aa34 100644 --- a/src/screen_outputs.c +++ b/src/screen_outputs.c @@ -19,7 +19,7 @@ #include "screen_outputs.h" #include "screen_interface.h" -#include "screen_message.h" +#include "screen_status.h" #include "paint.h" #include "i18n.h" #include "list_window.h" @@ -130,8 +130,7 @@ fill_outputs_list(struct mpdclient *c) g_ptr_array_add(mpd_outputs, output); } - if (!mpd_response_finish(connection)) - mpdclient_handle_error(c); + mpdclient_finish_command(c); list_window_set_length(lw, mpd_outputs->len); }