changeset 2654:90761c8aaba1

Use PACKAGE_VERSION in the user agent string.
author Matti Hamalainen <ccr@tnsp.org>
date Wed, 28 May 2008 15:55:59 +0300
parents c71b550c3345
children 50f6dce4b91a
files src/neon/neon.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/neon/neon.c	Wed May 28 15:55:18 2008 +0300
+++ b/src/neon/neon.c	Wed May 28 15:55:59 2008 +0300
@@ -686,7 +686,7 @@
             ne_set_connect_timeout(handle->session, 10);
 
         ne_set_read_timeout(handle->session, 10);
-        ne_set_useragent(handle->session, "Audacious/1.5.0");
+        ne_set_useragent(handle->session, "Audacious/" PACKAGE_VERSION );
 
         if (use_proxy) {
             _DEBUG("<%p> Using proxy: %s:%d", handle, proxy_host, proxy_port);