[evolution-data-server/openismus-work: 45/52] EBookBackendSexp: Using a const pointer in compare_phone() as milan requested.



commit 4e0a23a073a95bfbe20f981801233b4d78c6ccc4
Author: Tristan Van Berkom <tristanvb openismus com>
Date:   Tue Nov 20 15:44:22 2012 +0900

    EBookBackendSexp: Using a const pointer in compare_phone() as milan requested.

 addressbook/libedata-book/e-book-backend-sexp.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/addressbook/libedata-book/e-book-backend-sexp.c b/addressbook/libedata-book/e-book-backend-sexp.c
index 6c597b4..30ca998 100644
--- a/addressbook/libedata-book/e-book-backend-sexp.c
+++ b/addressbook/libedata-book/e-book-backend-sexp.c
@@ -183,7 +183,7 @@ compare_phone (EContact *contact,
 	list = e_contact_get (contact, E_CONTACT_TEL);
 
 	for (l = list; l; l = l->next) {
-		gchar *phone = l->data;
+		const gchar *phone = l->data;
 
 		rv = phone && compare (phone, str);
 



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