diff options
author | Qball Cow <qball@sarine.nl> | 2010-09-08 13:19:59 +0200 |
---|---|---|
committer | Qball Cow <qball@sarine.nl> | 2010-09-08 13:19:59 +0200 |
commit | 4a7abc9d44206296587a9e4302e0e1a273aef6e9 (patch) | |
tree | 70a2d6c37dc62bf47021b159ae3bae1726a4a4d0 /src | |
parent | 589bb541111e97610308fae1269a549d51c9ea6c (diff) | |
download | mpd-4a7abc9d44206296587a9e4302e0e1a273aef6e9.tar.gz mpd-4a7abc9d44206296587a9e4302e0e1a273aef6e9.tar.xz mpd-4a7abc9d44206296587a9e4302e0e1a273aef6e9.zip |
Correctly terminate stream_title.
This caused random data to be send via icy-server if the played
song had no tags.
Diffstat (limited to 'src')
-rw-r--r-- | src/icy_server.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/icy_server.c b/src/icy_server.c index 486c62c36..50b10c6ca 100644 --- a/src/icy_server.c +++ b/src/icy_server.c @@ -95,6 +95,7 @@ icy_server_metadata_page(const struct tag *tag, ...) gchar stream_title[(1 + 255 - 28) * 16]; // Length + Metadata - // "StreamTitle='';StreamUrl='';" // = 4081 - 28 + stream_title[0] = '\0'; last_item = -1; |