changeset 31482:fa9b2cf68b9b

Not that anyone uses this, but it should probably go in the user's purple dir instead.
author Elliott Sales de Andrade <qulogic@pidgin.im>
date Wed, 15 Dec 2010 22:21:07 +0000
parents 05c14f037414
children 05e05d96ba75
files libpurple/protocols/msn/slplink.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/protocols/msn/slplink.c	Wed Dec 15 22:10:55 2010 +0000
+++ b/libpurple/protocols/msn/slplink.c	Wed Dec 15 22:21:07 2010 +0000
@@ -49,7 +49,7 @@
 
 	dir = send ? "send" : "recv";
 	c = send ? m_sc++ : m_rc++;
-	tmp = g_strdup_printf("%s/msntest/%s/%03d", g_get_home_dir(), dir, c);
+	tmp = g_strdup_printf("%s/msntest/%s/%03d", purple_user_dir(), dir, c);
 	data = msn_slpmsg_serialize(msg, &data_size);
 	if (!purple_util_write_data_to_file_absolute(tmp, data, data_size))
 	{