aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Toshok <toshok@ximian.com>2001-08-08 02:22:01 +0800
committerChris Toshok <toshok@src.gnome.org>2001-08-08 02:22:01 +0800
commit9a165d27dff407f1bf61919c1362e166d9c8d1ce (patch)
tree080b71469bffef560675e11db9b95c712969033d
parentca9e52bf416be7e72c99418331b5f557c992d87b (diff)
downloadgsoc2013-evolution-9a165d27dff407f1bf61919c1362e166d9c8d1ce.tar.gz
gsoc2013-evolution-9a165d27dff407f1bf61919c1362e166d9c8d1ce.tar.zst
gsoc2013-evolution-9a165d27dff407f1bf61919c1362e166d9c8d1ce.zip
use g_strcasecmp since ldap attribute names are not case sensitive.
2001-08-07 Chris Toshok <toshok@ximian.com> * backend/pas/pas-backend-ldap.c (build_card_from_entry): use g_strcasecmp since ldap attribute names are not case sensitive. svn path=/trunk/; revision=11734
-rw-r--r--addressbook/ChangeLog5
-rw-r--r--addressbook/backend/pas/pas-backend-ldap.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/addressbook/ChangeLog b/addressbook/ChangeLog
index ce81c21cac..d039ef132d 100644
--- a/addressbook/ChangeLog
+++ b/addressbook/ChangeLog
@@ -1,5 +1,10 @@
2001-08-07 Chris Toshok <toshok@ximian.com>
+ * backend/pas/pas-backend-ldap.c (build_card_from_entry): use
+ g_strcasecmp since ldap attribute names are not case sensitive.
+
+2001-08-07 Chris Toshok <toshok@ximian.com>
+
* gui/contact-list-editor/e-contact-list-editor.c
(table_drag_data_received_cb): make sure we update the changed
state if a successful drop happens.
diff --git a/addressbook/backend/pas/pas-backend-ldap.c b/addressbook/backend/pas/pas-backend-ldap.c
index f4d0fc78a9..8d38f22255 100644
--- a/addressbook/backend/pas/pas-backend-ldap.c
+++ b/addressbook/backend/pas/pas-backend-ldap.c
@@ -1774,7 +1774,7 @@ build_card_from_entry (LDAP *ldap, LDAPMessage *e)
struct prop_info *info = NULL;
for (i = 0; i < num_prop_infos; i ++)
- if (!strcmp (attr, prop_info[i].ldap_attr))
+ if (!g_strcasecmp (attr, prop_info[i].ldap_attr))
info = &prop_info[i];
if (info) {