inputStream_http: avoid printf, use our handy macros in log.h
git-svn-id: https://svn.musicpd.org/mpd/trunk@4210 09075e82-0dd4-0310-85a5-a0d7c8717e4f
This commit is contained in:
parent
7b35cfe2ac
commit
d11e19548c
@ -342,7 +342,7 @@ static int parseUrl(InputStreamHTTPData * data, char * url) {
|
|||||||
data->port = malloc(len+1);
|
data->port = malloc(len+1);
|
||||||
strncpy(data->port, colon+1, len);
|
strncpy(data->port, colon+1, len);
|
||||||
data->port[len] = '\0';
|
data->port[len] = '\0';
|
||||||
printf("Port: %s\n", data->port);
|
DEBUG(__FILE__ ": Port: %s\n", data->port);
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
data->port = strdup("80");
|
data->port = strdup("80");
|
||||||
|
Loading…
Reference in New Issue
Block a user