summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
authorLinus Nielsen Feltzing <linus@haxx.se>2006-10-19 10:25:10 +0000
committerLinus Nielsen Feltzing <linus@haxx.se>2006-10-19 10:25:10 +0000
commitf309f818ce10d44100488380b8964e7562e6e560 (patch)
tree79e0b9003875b38c3e35dc87ee07645ede720550 /apps
parentda153da0be485aa4b937d58ee209eda7fb342053 (diff)
Put the CVS revision in the CLIENT string in the scrobbler log file
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11270 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps')
-rwxr-xr-xapps/scrobbler.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/apps/scrobbler.c b/apps/scrobbler.c
index 68c5e9addf..cc05e3eb81 100755
--- a/apps/scrobbler.c
+++ b/apps/scrobbler.c
@@ -52,7 +52,7 @@ http://www.audioscrobbler.net/wiki/Portable_Player_Logging
/* increment this on any code change that effects output */
/* replace with CVS Revision keyword? */
-#define SCROBBLER_REVISION "1.0"
+#define SCROBBLER_REVISION " $Revision$"
#define SCROBBLER_MAX_CACHE 32
/* longest entry I've had is 323, add a safety margin */
@@ -94,11 +94,11 @@ static void write_cache(void)
fdprintf(scrobbler_fd, "#AUDIOSCROBBLER/%s\n", SCROBBLER_VERSION);
fdprintf(scrobbler_fd, "#TZ/UNKNOWN\n");
#ifdef CONFIG_RTC
- fdprintf(scrobbler_fd, "#CLIENT/Rockbox %s %s\n",
- TARGET_NAME, SCROBBLER_REVISION);
+ fdprintf(scrobbler_fd,
+ "#CLIENT/Rockbox " TARGET_NAME SCROBBLER_REVISION "\n");
#else
- fdprintf(scrobbler_fd, "#CLIENT/Rockbox %s %s Timeless\n",
- TARGET_NAME, SCROBBLER_REVISION);
+ fdprintf(scrobbler_fd,
+ "#CLIENT/Rockbox " TARGET_NAME SCROBBLER_REVISION " Timeless\n");
#endif
close(scrobbler_fd);
}