Correctly terminate stream_title.
This caused random data to be send via icy-server if the played song had no tags.
This commit is contained in:
parent
589bb54111
commit
4a7abc9d44
2
NEWS
2
NEWS
|
@ -1,5 +1,7 @@
|
|||
ver 0.15.13 (2010/??/??)
|
||||
* output_thread: fix race condition after CANCEL command
|
||||
* output:
|
||||
- httpd: fix random data in stream title
|
||||
|
||||
|
||||
ver 0.15.12 (2010/07/20)
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue