From af6479c0d91a57f1b29e22c0cdb9389ee98b5884 Mon Sep 17 00:00:00 2001 From: moritz Date: Mon, 16 Jul 2007 00:32:17 +0000 Subject: [PATCH] D'oh! Make work with playlists as well. Problem description found in the Icecast mailing list archive, in a mail by Geoff Shang, via Google. Let's hope that the bug tracker prevents this kind of bug hunting in the future ... git-svn-id: https://svn.xiph.org/trunk/ezstream@13272 0101bb08-14d6-0310-b084-bc0e0c8e3800 --- NEWS | 8 ++++++++ src/ezstream.c | 8 ++++---- 2 files changed, 12 insertions(+), 4 deletions(-) diff --git a/NEWS b/NEWS index 04a5b1a..6086fe7 100644 --- a/NEWS +++ b/NEWS @@ -1,3 +1,11 @@ +Changes in 0.4.2 (SVN): + + * src/ezstream.c: + - [FIX] Make work with playlists, too. Problem found by + Geoff Shang . + + + Changes in 0.4.1, released on 2007-07-15: * src/ezstream.c: diff --git a/src/ezstream.c b/src/ezstream.c index bc1a0e1..4238428 100644 --- a/src/ezstream.c +++ b/src/ezstream.c @@ -1291,14 +1291,14 @@ main(int argc, char *argv[]) ret = 1; do { - if (playlistMode) + if (playlistMode) { ret = streamPlaylist(shout, pezConfig->fileName); - else { + } else { ret = streamFile(shout, pezConfig->fileName); - if (pezConfig->streamOnce) - break; } + if (pezConfig->streamOnce) + break; } while (ret); } else printf("%s: Connection to http://%s:%d%s failed: %s\n", __progname,