aboutsummaryrefslogtreecommitdiffstats
path: root/src/inputStream_http.c
diff options
context:
space:
mode:
authorWarren Dukes <warren.dukes@gmail.com>2005-01-23 03:27:53 +0000
committerWarren Dukes <warren.dukes@gmail.com>2005-01-23 03:27:53 +0000
commit1c8b2de44bab08e6b594843093d68ec1b245f853 (patch)
treec69b53f8fa1f63820e6549d106f76d4b0b54a675 /src/inputStream_http.c
parent9999a20c12f37fa853f4df8eab279d3d4c58f97d (diff)
downloadmpd-1c8b2de44bab08e6b594843093d68ec1b245f853.tar.gz
mpd-1c8b2de44bab08e6b594843093d68ec1b245f853.tar.xz
mpd-1c8b2de44bab08e6b594843093d68ec1b245f853.zip
change the http identification string to package_name/package_version
git-svn-id: https://svn.musicpd.org/mpd/trunk@2896 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to 'src/inputStream_http.c')
-rw-r--r--src/inputStream_http.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/inputStream_http.c b/src/inputStream_http.c
index cfbe88e60..2fda41010 100644
--- a/src/inputStream_http.c
+++ b/src/inputStream_http.c
@@ -484,7 +484,10 @@ static int finishHTTPInit(InputStream * inStream) {
"%s" /* authorization */
"Icy-Metadata:1\r\n"
"\r\n",
- data->path, data->host, "httpTest", "0.0.0",
+ data->path,
+ data->host,
+ PACKAGE_NAME,
+ PACKAGE_VERSION,
/*inStream->offset,*/
data->proxyAuth ? data->proxyAuth :