pidgin.next.minor: c1655952: Remove a hardcoded file path in some deb...

rlaager at pidgin.im rlaager at pidgin.im
Fri Dec 12 12:11:17 EST 2008


-----------------------------------------------------------------
Revision: c165595260a2efa0ca23704ada46a303e0412e19
Ancestor: 4b47614fcefc560cc4cd40158903931a7ae9f70a
Author: rlaager at pidgin.im
Date: 2008-12-12T07:26:20
Branch: im.pidgin.pidgin.next.minor
URL: http://d.pidgin.im/viewmtn/revision/info/c165595260a2efa0ca23704ada46a303e0412e19

Modified files:
        libpurple/protocols/msn/directconn.c

ChangeLog: 

Remove a hardcoded file path in some debugging code.

-------------- next part --------------
============================================================
--- libpurple/protocols/msn/directconn.c	77e28dde08eb6a750061e136ec641a81e5399fd0
+++ libpurple/protocols/msn/directconn.c	8bf4a63349fc5fc7d48bb09e785ed524e2731c2e
@@ -323,7 +323,7 @@ read_cb(gpointer data, gint source, Purp
 		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);


More information about the Commits mailing list