diff libpurple/protocols/msn/directconn.c @ 25876:146ee5c01696

Remove a hardcoded file path in some debugging code.
author Richard Laager <rlaager@wiktel.com>
date Fri, 12 Dec 2008 07:26:20 +0000
parents 8b16818f7844
children da33da2e1a1e
line wrap: on
line diff
--- a/libpurple/protocols/msn/directconn.c	Fri Dec 12 06:52:39 2008 +0000
+++ b/libpurple/protocols/msn/directconn.c	Fri Dec 12 07:26:20 2008 +0000
@@ -323,7 +323,7 @@
 		MsnMessage *msg;
 
 #ifdef DEBUG_DC
-		str = g_strdup_printf("/home/revo/msntest/r%.4d.bin", directconn->c);
+		str = g_strdup_printf("%s/msntest/r%.4d.bin", g_get_home_dir(), directconn->c);
 
 		FILE *tf = g_fopen(str, "w");
 		fwrite(body, 1, len, tf);