From: Max Kellermann Date: Sun, 19 Mar 2017 11:04:16 +0000 (+0100) Subject: main: remove redundant mpdclient_disconnect() call X-Git-Tag: v0.26~25 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=67a0cefac10d7a8fe0fe6df106e49f27bda7f8e0;p=ncmpc.git main: remove redundant mpdclient_disconnect() call --- diff --git a/src/main.c b/src/main.c index d9c3ddb..8d07b42 100644 --- a/src/main.c +++ b/src/main.c @@ -201,7 +201,6 @@ timer_reconnect(gcc_unused gpointer data) g_free(name); doupdate(); - mpdclient_disconnect(mpd); mpdclient_connect(mpd); return FALSE;