diff options
author | Chris Toshok <toshok@ximian.com> | 2001-08-08 02:22:01 +0800 |
---|---|---|
committer | Chris Toshok <toshok@src.gnome.org> | 2001-08-08 02:22:01 +0800 |
commit | 9a165d27dff407f1bf61919c1362e166d9c8d1ce (patch) | |
tree | 080b71469bffef560675e11db9b95c712969033d /addressbook | |
parent | ca9e52bf416be7e72c99418331b5f557c992d87b (diff) | |
download | gsoc2013-evolution-9a165d27dff407f1bf61919c1362e166d9c8d1ce.tar gsoc2013-evolution-9a165d27dff407f1bf61919c1362e166d9c8d1ce.tar.gz gsoc2013-evolution-9a165d27dff407f1bf61919c1362e166d9c8d1ce.tar.bz2 gsoc2013-evolution-9a165d27dff407f1bf61919c1362e166d9c8d1ce.tar.lz gsoc2013-evolution-9a165d27dff407f1bf61919c1362e166d9c8d1ce.tar.xz 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')
-rw-r--r-- | addressbook/ChangeLog | 5 | ||||
-rw-r--r-- | addressbook/backend/pas/pas-backend-ldap.c | 2 |
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) { |