Mercurial > pidgin
comparison 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 |
comparison
equal
deleted
inserted
replaced
25875:8b16818f7844 | 25876:146ee5c01696 |
---|---|
321 if (len > 0) | 321 if (len > 0) |
322 { | 322 { |
323 MsnMessage *msg; | 323 MsnMessage *msg; |
324 | 324 |
325 #ifdef DEBUG_DC | 325 #ifdef DEBUG_DC |
326 str = g_strdup_printf("/home/revo/msntest/r%.4d.bin", directconn->c); | 326 str = g_strdup_printf("%s/msntest/r%.4d.bin", g_get_home_dir(), directconn->c); |
327 | 327 |
328 FILE *tf = g_fopen(str, "w"); | 328 FILE *tf = g_fopen(str, "w"); |
329 fwrite(body, 1, len, tf); | 329 fwrite(body, 1, len, tf); |
330 fclose(tf); | 330 fclose(tf); |
331 | 331 |