From aa4fd6fd0cc17b936c38b5a4acf80cafa56022b9 Mon Sep 17 00:00:00 2001 From: Jon Trowbridge Date: Sat, 20 Oct 2001 22:55:59 +0000 Subject: Check that the string we are checking for xml-ness is non-NULL. 2001-10-20 Jon Trowbridge * printing/e-contact-print.c (e_contact_print_card): Check that the string we are checking for xml-ness is non-NULL. svn path=/trunk/; revision=13830 --- addressbook/ChangeLog | 3 +++ addressbook/printing/e-contact-print.c | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/addressbook/ChangeLog b/addressbook/ChangeLog index 570898d961..2ab3e9b4b7 100644 --- a/addressbook/ChangeLog +++ b/addressbook/ChangeLog @@ -1,5 +1,8 @@ 2001-10-20 Jon Trowbridge + * printing/e-contact-print.c (e_contact_print_card): Check that the + string we are checking for xml-ness is non-NULL. + * backend/ebook/e-destination.c (e_destination_importv): Filter out empty destinations. (also Bug #13036) diff --git a/addressbook/printing/e-contact-print.c b/addressbook/printing/e-contact-print.c index 18e5922854..42c7718379 100644 --- a/addressbook/printing/e-contact-print.c +++ b/addressbook/printing/e-contact-print.c @@ -478,7 +478,7 @@ e_contact_print_card (ECardSimple *simple, EContactPrintContext *ctxt) char *string; string = e_card_simple_get(simple, field); - if (!strncmp (string, "