aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/inputStream_http.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/inputStream_http.c b/src/inputStream_http.c
index 9a32b269d..2e0755d96 100644
--- a/src/inputStream_http.c
+++ b/src/inputStream_http.c
@@ -570,7 +570,9 @@ static int getHTTPHello(InputStream * inStream) {
else if(0 == strncmp(cur, "\r\nicy-metaint:", 14)) {
data->icyMetaint = atoi(cur+14);
}
- else if(0 == strncmp(cur, "\r\nicy-name:", 11)) {
+ else if(0 == strncmp(cur, "\r\nicy-name:", 11) ||
+ 0 == strncmp(cur, "\r\nice-name:", 11))
+ {
int incr = 11;
char * temp = strstr(cur+incr,"\r\n");
if(!temp) break;