[evolution-data-server] Reverting one line I added to Christophe's commit on my own



commit 12552687560d910293f8a15b0b990c42cbaff869
Author: Milan Crha <mcrha redhat com>
Date:   Thu Jun 23 08:44:13 2011 +0200

    Reverting one line I added to Christophe's commit on my own
    
    I added this change to Christophe's commit myself, and I didn't
    notice that it is unnecessary change, thus I'm reverting it back.
    Christophe notified me about my fault in bug #652173.

 addressbook/libebook/e-contact.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/addressbook/libebook/e-contact.c b/addressbook/libebook/e-contact.c
index 9fd6982..1094d96 100644
--- a/addressbook/libebook/e-contact.c
+++ b/addressbook/libebook/e-contact.c
@@ -1523,7 +1523,7 @@ e_contact_get (EContact *contact, EContactField field_id)
 		else if (!rv)
 			return NULL;
 		else
-			return rv ? g_strstrip (g_strdup (rv)) : NULL;
+			return g_strstrip (g_strdup (rv));
 	}
 	else if (info->t & E_CONTACT_FIELD_TYPE_SYNTHETIC) {
 		switch (info->field_id) {



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