aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/backend/pas
diff options
context:
space:
mode:
authorChris Toshok <toshok@ximian.com>2002-11-27 11:08:59 +0800
committerChris Toshok <toshok@src.gnome.org>2002-11-27 11:08:59 +0800
commit7a600dbc41173b9e44536aa60a48a59764f3b595 (patch)
treef9c1973422b9ed63f0ca8a3d557bc5acd4a5b012 /addressbook/backend/pas
parent07bd8e460c6309083b57e802b7371e758af8044c (diff)
downloadgsoc2013-evolution-7a600dbc41173b9e44536aa60a48a59764f3b595.tar.gz
gsoc2013-evolution-7a600dbc41173b9e44536aa60a48a59764f3b595.tar.zst
gsoc2013-evolution-7a600dbc41173b9e44536aa60a48a59764f3b595.zip
[ roll forward from 1.2 branch ] never pass NULL as the vcard to the corba
2002-11-26 Chris Toshok <toshok@ximian.com> [ 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
Diffstat (limited to 'addressbook/backend/pas')
-rw-r--r--addressbook/backend/pas/pas-backend-file.c2
1 files changed, 1 insertions, 1 deletions
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;
}