changeset 733:7c04570bf809 trunk

[svn] fixed where srobbler dumps files.
author kustodian
date Mon, 26 Feb 2007 05:14:22 -0800
parents a3ca00f30af5
children ff62f5530a36
files ChangeLog src/scrobbler/gerpok.c src/scrobbler/hatena.c src/scrobbler/scrobbler.c
diffstat 4 files changed, 13 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Mon Feb 26 03:40:29 2007 -0800
+++ b/ChangeLog	Mon Feb 26 05:14:22 2007 -0800
@@ -1,3 +1,13 @@
+2007-02-26 11:40:29 +0000  William Pitcock <nenolod@sacredspiral.co.uk>
+  revision [1562]
+  - path fixes
+  
+  trunk/src/scrobbler/gerpok.c    |    3 ++-
+  trunk/src/scrobbler/hatena.c    |    3 ++-
+  trunk/src/scrobbler/scrobbler.c |    3 ++-
+  3 files changed, 6 insertions(+), 3 deletions(-)
+
+
 2007-02-26 11:38:03 +0000  William Pitcock <nenolod@sacredspiral.co.uk>
   revision [1560]
   - add a (hidden for now) configuration option, use_local_ip and local_ip 
--- a/src/scrobbler/gerpok.c	Mon Feb 26 03:40:29 2007 -0800
+++ b/src/scrobbler/gerpok.c	Mon Feb 26 05:14:22 2007 -0800
@@ -826,7 +826,7 @@
 		return;
 	}
 
-	snprintf(buf, sizeof(buf), "%s/.audacious/gerpokqueue.txt", home);
+	snprintf(buf, sizeof(buf), "%s/gerpokqueue.txt", audacious_get_localdir());
 
 	if (!(fd = fopen(buf, "w")))
 	{
--- a/src/scrobbler/hatena.c	Mon Feb 26 03:40:29 2007 -0800
+++ b/src/scrobbler/hatena.c	Mon Feb 26 05:14:22 2007 -0800
@@ -788,7 +788,7 @@
 		return;
 	}
 
-	snprintf(buf, sizeof(buf), "%s/.audacious/gerpokqueue.txt", home);
+	snprintf(buf, sizeof(buf), "%s/hatenaqueue.txt", audacious_get_localdir());
 
 	if (!(fd = fopen(buf, "w")))
 	{
--- a/src/scrobbler/scrobbler.c	Mon Feb 26 03:40:29 2007 -0800
+++ b/src/scrobbler/scrobbler.c	Mon Feb 26 05:14:22 2007 -0800
@@ -825,7 +825,7 @@
 		return;
 	}
 
-	snprintf(buf, sizeof(buf), "%s/.audacious/scrobblerqueue.txt", home);
+	snprintf(buf, sizeof(buf), "%s/scrobblerqueue.txt", audacious_get_localdir());
 
 	if (!(fd = fopen(buf, "w")))
 	{