summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars-Dominik Braun <PromyLOPh@gmail.com>2008-06-25 15:01:35 +0200
committerLars-Dominik Braun <PromyLOPh@gmail.com>2008-06-25 15:01:35 +0200
commit1ae32fdac0c959896a76e5c9a065b208bc62a0a7 (patch)
treee74add00ec4591308f7d3c208275663eed308a5c
parenta39f7626758a7d26c1bc419b1eaa46cbfee5ecaa (diff)
downloadpianobar-windows-1ae32fdac0c959896a76e5c9a065b208bc62a0a7.tar.gz
pianobar-windows-1ae32fdac0c959896a76e5c9a065b208bc62a0a7.tar.bz2
pianobar-windows-1ae32fdac0c959896a76e5c9a065b208bc62a0a7.zip
client: Fix infinite loop caused by commit af2ceec1e540bae28fdd3ec07158dcd137d3c9da
-rw-r--r--src/main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main.c b/src/main.c
index ad0049f..389caca 100644
--- a/src/main.c
+++ b/src/main.c
@@ -319,6 +319,7 @@ int main (int argc, char **argv) {
curSong = ph.playlist;
if (curSong == NULL) {
printf ("No tracks left\n");
+ curStation = NULL;
}
}
if (curSong != NULL) {