aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorNot Zed <NotZed@Ximian.com>2005-07-29 09:40:56 +0800
committerMichael Zucci <zucchi@src.gnome.org>2005-07-29 09:40:56 +0800
commit29bded8a17c8cdde0611bd98f4d39b47a8abd585 (patch)
treec1d33c38367cce7eadd38e5af2d1637b5dfdbcb1 /mail
parented48823f7fafe2c680b958801a1d938402540528 (diff)
downloadgsoc2013-evolution-29bded8a17c8cdde0611bd98f4d39b47a8abd585.tar
gsoc2013-evolution-29bded8a17c8cdde0611bd98f4d39b47a8abd585.tar.gz
gsoc2013-evolution-29bded8a17c8cdde0611bd98f4d39b47a8abd585.tar.bz2
gsoc2013-evolution-29bded8a17c8cdde0611bd98f4d39b47a8abd585.tar.lz
gsoc2013-evolution-29bded8a17c8cdde0611bd98f4d39b47a8abd585.tar.xz
gsoc2013-evolution-29bded8a17c8cdde0611bd98f4d39b47a8abd585.tar.zst
gsoc2013-evolution-29bded8a17c8cdde0611bd98f4d39b47a8abd585.zip
** See bug #311440.
2005-07-28 Not Zed <NotZed@Ximian.com> ** See bug #311440. * em-utils.c (em_utils_in_addressbook): handle NULL address. svn path=/trunk/; revision=29920
Diffstat (limited to 'mail')
-rw-r--r--mail/ChangeLog8
-rw-r--r--mail/em-utils.c3
2 files changed, 8 insertions, 3 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index 35b91d7d1a..507cb441ab 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,14 +1,18 @@
+2005-07-28 Not Zed <NotZed@Ximian.com>
+
+ ** See bug #311440.
+
+ * em-utils.c (em_utils_in_addressbook): handle NULL address.
+
2005-07-28 Praveen Kumar <kpraveen@novell.com>
* em-account-editor.c (emae_check_complete) : Update the "Full Name"
text entry with the detected real name of the user. Fixes bug 311778
-
2005-07-27 Srinivasa Ragavan <sragavan@novell.com>
* mail-config.glade: Changed "Host" to "Server"
-
2005-07-27 Not Zed <NotZed@Ximian.com>
* mail-send-recv.c (get_folders): hack to make it honour the
diff --git a/mail/em-utils.c b/mail/em-utils.c
index 5bd70e5be3..a432bed390 100644
--- a/mail/em-utils.c
+++ b/mail/em-utils.c
@@ -1871,7 +1871,8 @@ em_utils_in_addressbook(CamelInternetAddress *iaddr)
time_t now;
/* TODO: check all addresses? */
- if (!camel_internet_address_get(iaddr, 0, NULL, &addr))
+ if (iaddr == NULL
+ || !camel_internet_address_get(iaddr, 0, NULL, &addr))
return FALSE;
pthread_mutex_lock(&emu_addr_lock);