aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/tools
diff options
context:
space:
mode:
authorWang Xin <jedy.wang@sun.com>2007-05-08 17:46:24 +0800
committerJedy Jedy Wang <jedywang@src.gnome.org>2007-05-08 17:46:24 +0800
commitf3f31f6d3f6dca0f088f8440a876228818c1ac93 (patch)
tree277e8eaefa44fa50be22fb6cbd31298cc9bf4bf0 /addressbook/tools
parenta01cc7d9a8e4edd1d21c755d0b0a365d7ce05759 (diff)
downloadgsoc2013-evolution-f3f31f6d3f6dca0f088f8440a876228818c1ac93.tar
gsoc2013-evolution-f3f31f6d3f6dca0f088f8440a876228818c1ac93.tar.gz
gsoc2013-evolution-f3f31f6d3f6dca0f088f8440a876228818c1ac93.tar.bz2
gsoc2013-evolution-f3f31f6d3f6dca0f088f8440a876228818c1ac93.tar.lz
gsoc2013-evolution-f3f31f6d3f6dca0f088f8440a876228818c1ac93.tar.xz
gsoc2013-evolution-f3f31f6d3f6dca0f088f8440a876228818c1ac93.tar.zst
gsoc2013-evolution-f3f31f6d3f6dca0f088f8440a876228818c1ac93.zip
*tools/evolution-addressbook-export-list-cards.c: Fixes 394932.
2007-05-08 Wang Xin <jedy.wang@sun.com> *tools/evolution-addressbook-export-list-cards.c: Fixes 394932. svn path=/trunk/; revision=33493
Diffstat (limited to 'addressbook/tools')
-rw-r--r--addressbook/tools/evolution-addressbook-export-list-cards.c6
1 files changed, 4 insertions, 2 deletions
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);
}