aboutsummaryrefslogtreecommitdiff
path: root/src/syldap.c
diff options
context:
space:
mode:
authorhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2005-06-10 09:28:05 +0000
committerhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2005-06-10 09:28:05 +0000
commit2ce75a37bcca6a5c960c1fb56b530c24de5a8492 (patch)
tree0c67890575d8e869cef9e8e67e14b12e7959b0d2 /src/syldap.c
parent7ac4bf2db5d09d02f9e0e7ca4da691b7bd5ff0d9 (diff)
fixed Turkish locale problem.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@333 ee746299-78ed-0310-b773-934348b2243d
Diffstat (limited to 'src/syldap.c')
-rw-r--r--src/syldap.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/syldap.c b/src/syldap.c
index 2646dbf3..0cef9c3b 100644
--- a/src/syldap.c
+++ b/src/syldap.c
@@ -584,22 +584,22 @@ gint syldap_search( SyldapServer *ldapServer ) {
/* Process all attributes */
for( attribute = ldap_first_attribute( ld, e, &ber ); attribute != NULL;
attribute = ldap_next_attribute( ld, e, ber ) ) {
- if( strcasecmp( attribute, SYLDAP_ATTR_COMMONNAME ) == 0 ) {
+ if( g_ascii_strcasecmp( attribute, SYLDAP_ATTR_COMMONNAME ) == 0 ) {
listName = syldap_add_list_values( ld, e, attribute );
}
- if( strcasecmp( attribute, SYLDAP_ATTR_EMAIL ) == 0 ) {
+ if( g_ascii_strcasecmp( attribute, SYLDAP_ATTR_EMAIL ) == 0 ) {
listAddress = syldap_add_list_values( ld, e, attribute );
}
- if( strcasecmp( attribute, SYLDAP_ATTR_UID ) == 0 ) {
+ if( g_ascii_strcasecmp( attribute, SYLDAP_ATTR_UID ) == 0 ) {
listID = syldap_add_single_value( ld, e, attribute );
}
- if( strcasecmp( attribute, SYLDAP_ATTR_GIVENNAME ) == 0 ) {
+ if( g_ascii_strcasecmp( attribute, SYLDAP_ATTR_GIVENNAME ) == 0 ) {
listFirst = syldap_add_list_values( ld, e, attribute );
}
- if( strcasecmp( attribute, SYLDAP_ATTR_SURNAME ) == 0 ) {
+ if( g_ascii_strcasecmp( attribute, SYLDAP_ATTR_SURNAME ) == 0 ) {
listLast = syldap_add_single_value( ld, e, attribute );
}
- if( strcasecmp( attribute, SYLDAP_ATTR_DN ) == 0 ) {
+ if( g_ascii_strcasecmp( attribute, SYLDAP_ATTR_DN ) == 0 ) {
listDN = syldap_add_single_value( ld, e, attribute );
}
}
@@ -812,7 +812,7 @@ GList *syldap_read_basedn_s( const gchar *host, const gint port, const gchar *bi
/* Process attributes */
for( attribute = ldap_first_attribute( ld, e, &ber ); attribute != NULL;
attribute = ldap_next_attribute( ld, e, ber ) ) {
- if( strcasecmp( attribute, SYLDAP_V3_TEST_ATTR ) == 0 ) {
+ if( g_ascii_strcasecmp( attribute, SYLDAP_V3_TEST_ATTR ) == 0 ) {
if( ( vals = ldap_get_values( ld, e, attribute ) ) != NULL ) {
for( i = 0; vals[i] != NULL; i++ ) {
/* printf( "\t%s: %s\n", attribute, vals[i] ); */
@@ -847,7 +847,7 @@ GList *syldap_read_basedn_s( const gchar *host, const gint port, const gchar *bi
for( attribute = ldap_first_attribute( ld, e, &ber ); attribute != NULL;
attribute = ldap_next_attribute( ld, e, ber ) ) {
/* if( baseDN ) break; */
- if( strcasecmp( attribute, SYLDAP_V2_TEST_ATTR ) == 0 ) {
+ if( g_ascii_strcasecmp( attribute, SYLDAP_V2_TEST_ATTR ) == 0 ) {
if( ( vals = ldap_get_values( ld, e, attribute ) ) != NULL ) {
for( i = 0; vals[i] != NULL; i++ ) {
char *ch;
@@ -941,7 +941,7 @@ GList *syldap_read_basedn( SyldapServer *ldapServer ) {
/* Process attributes */
for( attribute = ldap_first_attribute( ld, e, &ber ); attribute != NULL;
attribute = ldap_next_attribute( ld, e, ber ) ) {
- if( strcasecmp( attribute, SYLDAP_V3_TEST_ATTR ) == 0 ) {
+ if( g_ascii_strcasecmp( attribute, SYLDAP_V3_TEST_ATTR ) == 0 ) {
if( ( vals = ldap_get_values( ld, e, attribute ) ) != NULL ) {
for( i = 0; vals[i] != NULL; i++ ) {
/* printf( "\t%s: %s\n", attribute, vals[i] ); */
@@ -978,7 +978,7 @@ GList *syldap_read_basedn( SyldapServer *ldapServer ) {
for( attribute = ldap_first_attribute( ld, e, &ber ); attribute != NULL;
attribute = ldap_next_attribute( ld, e, ber ) ) {
/* if( baseDN ) break; */
- if( strcasecmp( attribute, SYLDAP_V2_TEST_ATTR ) == 0 ) {
+ if( g_ascii_strcasecmp( attribute, SYLDAP_V2_TEST_ATTR ) == 0 ) {
if( ( vals = ldap_get_values( ld, e, attribute ) ) != NULL ) {
for( i = 0; vals[i] != NULL; i++ ) {
char *ch;