From 7a600dbc41173b9e44536aa60a48a59764f3b595 Mon Sep 17 00:00:00 2001 From: Chris Toshok Date: Wed, 27 Nov 2002 03:08:59 +0000 Subject: [ roll forward from 1.2 branch ] never pass NULL as the vcard to the corba 2002-11-26 Chris Toshok [ roll forward from 1.2 branch ] * backend/pas/pas-backend-file.c (pas_backend_file_process_get_vcard): never pass NULL as the vcard to the corba call, it causes a crash. This particular bug bit us when we opened a card that contained an unresolvable related contact. svn path=/trunk/; revision=18944 --- addressbook/backend/pas/pas-backend-file.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'addressbook/backend') diff --git a/addressbook/backend/pas/pas-backend-file.c b/addressbook/backend/pas/pas-backend-file.c index bc5de01458..58e1a8405a 100644 --- a/addressbook/backend/pas/pas-backend-file.c +++ b/addressbook/backend/pas/pas-backend-file.c @@ -922,7 +922,7 @@ pas_backend_file_process_get_vcard (PASBackend *backend, card = vcard_dbt.data; status = GNOME_Evolution_Addressbook_BookListener_Success; } else { - card = NULL; + card = ""; status = GNOME_Evolution_Addressbook_BookListener_CardNotFound; } -- cgit v1.2.3