changeset 4496:71e8b8e62a54

[gaim-migrate @ 4771] i hope these give me some debugging clues... committer: Tailor Script <tailor@pidgin.im>
author Nathan Walp <nwalp@pidgin.im>
date Fri, 31 Jan 2003 21:33:04 +0000
parents 32487e11a14d
children 5968bcd8ddb6
files src/list.c
diffstat 1 files changed, 7 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/list.c	Fri Jan 31 20:19:42 2003 +0000
+++ b/src/list.c	Fri Jan 31 21:33:04 2003 +0000
@@ -946,6 +946,8 @@
 	gsize length;
 	GMarkupParseContext *context;
 	GError *error = NULL;
+
+	debug_printf("gaim_blist_read: reading %s\n", filename);
 	if(!g_file_get_contents(filename, &contents, &length, &error)) {
 		debug_printf("error reading blist: %s\n", error->message);
 		g_error_free(error);
@@ -973,6 +975,8 @@
 	if(blist_parser_error_occurred)
 		return FALSE;
 
+	debug_printf("gaim_blist_read: finished reading %s\n", filename);
+
 	return TRUE;
 }
 
@@ -982,8 +986,10 @@
 	char *filename;
 	char *msg;
 
-	if(!user_dir)
+	if(!user_dir) {
+		debug_printf("unable to get user dir!  buddy list load aborted!\n");
 		return;
+	}
 
 	filename = g_build_filename(user_dir, "blist.xml", NULL);