1
0
mirror of https://gitlab.xiph.org/xiph/icecast-server.git synced 2025-02-02 15:07:36 -05:00

patch to allow public listing of shoutcast servers that are relaying icecast streams

svn path=/icecast/trunk/icecast/; revision=6614
This commit is contained in:
oddsock 2004-05-03 14:55:44 +00:00
parent 9f7895bd42
commit 15b9c16c1c

View File

@ -150,8 +150,12 @@ void format_send_general_headers(format_plugin_t *format,
if (!strcasecmp("ice-bitrate", var->name))
bytes += sock_write(client->con->sock, "icy-br:%s\r\n", var->value);
else
bytes = sock_write(client->con->sock, "icy%s:%s\r\n",
var->name + 3, var->value);
if (!strcasecmp("ice-public", var->name))
bytes += sock_write(client->con->sock,
"icy-pub:%s\r\n", var->value);
else
bytes = sock_write(client->con->sock, "icy%s:%s\r\n",
var->name + 3, var->value);
}
if (!strncasecmp("icy-", var->name, 4))