diff options
author | Warren Dukes <warren.dukes@gmail.com> | 2004-05-24 23:45:11 +0000 |
---|---|---|
committer | Warren Dukes <warren.dukes@gmail.com> | 2004-05-24 23:45:11 +0000 |
commit | 8c261f18851025f31d67964272b0b9bac6935aec (patch) | |
tree | a445652d65ed9ea11bad98c6b25e8efc1e6efd0e | |
parent | e89c9769f9eed479ce61b8314d80e1821dd46b66 (diff) | |
download | mpd-8c261f18851025f31d67964272b0b9bac6935aec.tar.gz mpd-8c261f18851025f31d67964272b0b9bac6935aec.tar.xz mpd-8c261f18851025f31d67964272b0b9bac6935aec.zip |
put icyName debug info
git-svn-id: https://svn.musicpd.org/mpd/trunk@1151 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to '')
-rw-r--r-- | src/inputStream_http.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/inputStream_http.c b/src/inputStream_http.c index c9cde55f2..f60c5240d 100644 --- a/src/inputStream_http.c +++ b/src/inputStream_http.c @@ -19,6 +19,7 @@ #include "inputStream_http.h" #include "utils.h" +#include "log.h" #include <stdio.h> #include <sys/types.h> @@ -376,6 +377,7 @@ static int getHTTPHello(InputStream * inStream) { if(data->icyName) free(data->icyName); data->icyName = strdup(cur+11); *temp = '\r'; + DEBUG("stream icy-name: %s\n", data->icyName); } else if(0 == strncmp(cur, "\r\nx-audiocast-name:", 19)) { char * temp = strstr(cur+19,"\r\n"); @@ -384,6 +386,7 @@ static int getHTTPHello(InputStream * inStream) { if(data->icyName) free(data->icyName); data->icyName = strdup(cur+19); *temp = '\r'; + DEBUG("stream audiocast-name: %s\n", data->icyName); } else if(0 == strncmp(cur, "\r\nContent-Type:", 15)) { char * temp = strstr(cur+15,"\r\n"); |