aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/bbdb/bbdb.c
diff options
context:
space:
mode:
authorNat Friedman <nat@novell.com>2005-01-13 23:43:58 +0800
committerNat Friedman <nat@src.gnome.org>2005-01-13 23:43:58 +0800
commitc16c98164e07fc45edd7c5308af1b19162b0e113 (patch)
treeafb8a64da3faccbce7cb98f326933c2ff8dbdbbf /plugins/bbdb/bbdb.c
parentc552da98718a8716a624f42c2dfeea6fb498fe68 (diff)
downloadgsoc2013-evolution-c16c98164e07fc45edd7c5308af1b19162b0e113.tar
gsoc2013-evolution-c16c98164e07fc45edd7c5308af1b19162b0e113.tar.gz
gsoc2013-evolution-c16c98164e07fc45edd7c5308af1b19162b0e113.tar.bz2
gsoc2013-evolution-c16c98164e07fc45edd7c5308af1b19162b0e113.tar.lz
gsoc2013-evolution-c16c98164e07fc45edd7c5308af1b19162b0e113.tar.xz
gsoc2013-evolution-c16c98164e07fc45edd7c5308af1b19162b0e113.tar.zst
gsoc2013-evolution-c16c98164e07fc45edd7c5308af1b19162b0e113.zip
Changes to take advantage of Siva's performance improvements to the
Changes to take advantage of Siva's performance improvements to the addressbook search API. 2005-01-13 Nat Friedman <nat@novell.com> * gaimbuddies.c (bbdb_sync_buddy_list_check): Remove some debug printfs. (bbdb_sync_buddy_list): Do not query for the IM name, which is slow. Instead, query by alias and only commit the contact if we have changes for it. (bbdb_merge_buddy_to_contact): Return a boolean indicating whether we dirtied the contact or not. svn path=/trunk/; revision=28392
Diffstat (limited to 'plugins/bbdb/bbdb.c')
-rw-r--r--plugins/bbdb/bbdb.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/bbdb/bbdb.c b/plugins/bbdb/bbdb.c
index bc75cf73bf..0dbfc40d3c 100644
--- a/plugins/bbdb/bbdb.c
+++ b/plugins/bbdb/bbdb.c
@@ -191,8 +191,9 @@ bbdb_do_it (EBook *book, const char *name, const char *email)
/* FIXME: If there's more than one contact with this
name, just give up; we're not smart enough for
this. */
- if (contacts->next != NULL)
+ if (contacts->next != NULL) {
return;
+ }
contact = (EContact *) contacts->data;
add_email_to_contact (contact, email);