Code

main: remove redundant mpdclient_disconnect() call
authorMax Kellermann <max.kellermann@gmail.com>
Sun, 19 Mar 2017 11:04:16 +0000 (12:04 +0100)
committerMax Kellermann <max.kellermann@gmail.com>
Sun, 19 Mar 2017 11:04:16 +0000 (12:04 +0100)
src/main.c

index d9c3ddb0d28c48e7dbf7663068b9c0aabe9e3908..8d07b426725ef90420611309e47ceac7e07469c1 100644 (file)
@@ -201,7 +201,6 @@ timer_reconnect(gcc_unused gpointer data)
        g_free(name);
        doupdate();
 
-       mpdclient_disconnect(mpd);
        mpdclient_connect(mpd);
 
        return FALSE;