chiark / gitweb /
Correct playlist read sense
authorRichard Kettlewell <rjk@greenend.org.uk>
Mon, 4 Aug 2008 20:15:44 +0000 (21:15 +0100)
committerRichard Kettlewell <rjk@greenend.org.uk>
Mon, 4 Aug 2008 20:15:44 +0000 (21:15 +0100)
clients/disorder.c

index 719cf04..b57a8de 100644 (file)
@@ -628,7 +628,7 @@ static void cf_playlist_set(char **argv) {
     tag = "stdin";
   }
   vector_init(v);
-  while(inputline(tag, input, &l, '\n')) {
+  while(!inputline(tag, input, &l, '\n')) {
     if(!strcmp(l, "."))
       break;
     vector_append(v, l);