author | Max Kellermann <max@duempel.org> | |
Sat, 3 Oct 2009 23:10:23 +0000 (01:10 +0200) | ||
committer | Max Kellermann <max@duempel.org> | |
Sat, 3 Oct 2009 23:10:23 +0000 (01:10 +0200) | ||
commit | 5ea2e9948ad49d954181838ce56c306dd1eddfe7 | |
tree | 9478bf338470a065e044182ff2761d2e24cb3cf8 | tree | snapshot |
parent | 9ed301c688fbf56a6aa64843688be97ea8ecba4f | commit | diff |
main: reconnect at the end of timer_mpd_update()
During timer_mpd_update(), the MPD connection may get lost. Move that
reconnect test to the end of timer_mpd_update(), so we can catch it as
soon as possible. There is no advantage in having it at the
beginning.
During timer_mpd_update(), the MPD connection may get lost. Move that
reconnect test to the end of timer_mpd_update(), so we can catch it as
soon as possible. There is no advantage in having it at the
beginning.
src/main.c | diff | blob | history |