From f3f31f6d3f6dca0f088f8440a876228818c1ac93 Mon Sep 17 00:00:00 2001 From: Wang Xin Date: Tue, 8 May 2007 09:46:24 +0000 Subject: *tools/evolution-addressbook-export-list-cards.c: Fixes 394932. 2007-05-08 Wang Xin *tools/evolution-addressbook-export-list-cards.c: Fixes 394932. svn path=/trunk/; revision=33493 --- addressbook/tools/evolution-addressbook-export-list-cards.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'addressbook/tools') diff --git a/addressbook/tools/evolution-addressbook-export-list-cards.c b/addressbook/tools/evolution-addressbook-export-list-cards.c index e8f2749861..3da6ef99f8 100644 --- a/addressbook/tools/evolution-addressbook-export-list-cards.c +++ b/addressbook/tools/evolution-addressbook-export-list-cards.c @@ -652,7 +652,8 @@ action_list_cards (GList *contacts, ActionContext * p_actctx) length = g_list_length (contacts); if (length <= 0) { - g_warning ("Couldn't load addressbook correctly!!!! %s####", p_actctx->action_list_cards.addressbook_folder_uri); + g_warning ("Couldn't load addressbook correctly!!!! %s####", p_actctx->action_list_cards.addressbook_folder_uri ? + p_actctx->action_list_cards.addressbook_folder_uri : "NULL"); exit (-1); } @@ -799,7 +800,8 @@ action_list_cards_init (ActionContext * p_actctx) if (!book || !e_book_open (book, TRUE, NULL)) { - g_warning ("Couldn't load addressbook %s", p_actctx->action_list_cards.addressbook_folder_uri); + g_warning ("Couldn't load addressbook %s", p_actctx->action_list_cards.addressbook_folder_uri ? + p_actctx->action_list_cards.addressbook_folder_uri : "NULL"); exit (-1); } -- cgit