Commit 15b9c16c authored by Ed "oddsock" Zaleski's avatar Ed "oddsock" Zaleski

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

svn path=/icecast/trunk/icecast/; revision=6614
parent 9f7895bd
......@@ -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))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment