diff options
author | Lars-Dominik Braun <PromyLOPh@gmail.com> | 2008-07-22 20:24:23 +0200 |
---|---|---|
committer | Lars-Dominik Braun <PromyLOPh@gmail.com> | 2008-07-22 20:24:23 +0200 |
commit | 95df994be69a49a6e40a105fa349a553dd03a766 (patch) | |
tree | 5b85536537d3d0bd973390ba2150acbde6e9b649 | |
parent | bfbb8e26d6b89cef9d496246f0f6a64e3f3eafb5 (diff) | |
download | pianobar-windows-95df994be69a49a6e40a105fa349a553dd03a766.tar.gz pianobar-windows-95df994be69a49a6e40a105fa349a553dd03a766.tar.bz2 pianobar-windows-95df994be69a49a6e40a105fa349a553dd03a766.zip |
Fix infinite loop in last commit.
-rw-r--r-- | src/main.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -407,6 +407,7 @@ int main (int argc, char **argv) { if (PianoGetPlaylist (&ph, curStation->id) != PIANO_RET_OK) { BarUiMsg ("Error.\n"); + curStation = NULL; } else { curSong = ph.playlist; if (curSong == NULL) { |