diff options
Diffstat (limited to '')
-rw-r--r-- | src/inputStream_http.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/inputStream_http.c b/src/inputStream_http.c index ca5c73a7c..a2b343c6f 100644 --- a/src/inputStream_http.c +++ b/src/inputStream_http.c @@ -468,14 +468,13 @@ static int finishHTTPInit(InputStream * inStream) "GET %s HTTP/1.1\r\n" "Host: %s\r\n" /* "Connection: close\r\n" */ - "User-Agent: %s/%s\r\n" + "User-Agent: " PACKAGE_NAME "/" PACKAGE_VERSION "\r\n" "Range: bytes=%ld-\r\n" "%s" /* authorization */ "Icy-Metadata:1\r\n" "\r\n", data->path, data->host, - PACKAGE_NAME, PACKAGE_VERSION, inStream->offset, data->proxyAuth ? data->proxyAuth : (data->httpAuth ? data->httpAuth : "")); |