some improvements for handling mpd connection

This commit is contained in:
Andrzej Rybczak
2008-12-21 18:59:00 +01:00
parent 094c4e3ab3
commit 497f2dd4ff
2 changed files with 10 additions and 4 deletions

View File

@@ -363,7 +363,6 @@ int main(int argc, char *argv[])
if (!Mpd->Connected())
{
ShowMessage("Attempting to reconnect...");
Mpd->Disconnect();
if (Mpd->Connect())
ShowMessage("Connected!");
messages_allowed = 0;