evolution-data-server r9798 - in branches/gnome-2-24/addressbook: . backends/groupwise



Author: sragavan
Date: Fri Dec  5 06:19:23 2008
New Revision: 9798
URL: http://svn.gnome.org/viewvc/evolution-data-server?rev=9798&view=rev

Log:
2008-12-05  Srinivasa Ragavan  <sragavan novell com>

	** Fix for BNC bugs #440265 && #447121

	* addressbook/backends/groupwise/e-book-backend-groupwise.c: Fix some
	stupidity.




Modified:
   branches/gnome-2-24/addressbook/ChangeLog
   branches/gnome-2-24/addressbook/backends/groupwise/e-book-backend-groupwise.c

Modified: branches/gnome-2-24/addressbook/backends/groupwise/e-book-backend-groupwise.c
==============================================================================
--- branches/gnome-2-24/addressbook/backends/groupwise/e-book-backend-groupwise.c	(original)
+++ branches/gnome-2-24/addressbook/backends/groupwise/e-book-backend-groupwise.c	Fri Dec  5 06:19:23 2008
@@ -848,6 +848,9 @@
 				email = v ? v->data : NULL;
 			}
 		}
+
+		if (!id && !email)
+			email = e_vcard_attribute_get_value (attr);
 		if (id) {
 			member = g_new0 (EGroupMember , 1);
 			member->id = g_strdup (id);
@@ -2020,7 +2023,7 @@
 						g_object_unref (contact);
 					}
 					g_ptr_array_free (ids, TRUE);
-					ids->len = 0;
+					ids = NULL;
 				}
 			}
 			else {



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]