aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/backend/pas
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 /addressbook/backend/pas
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
Diffstat (limited to 'addressbook/backend/pas')
-rw-r--r--addressbook/backend/pas/pas-backend-ldap.c2
1 files changed, 1 insertions, 1 deletions
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) {