See:
* http://permalink.gmane.org/gmane.comp.tools.abook.devel/39
* http://article.gmane.org/gmane.mail.mutt.user/39770
}
for(i=0; i < LDIF_ITEM_FIELDS; i++) {
}
for(i=0; i < LDIF_ITEM_FIELDS; i++) {
- if(!safe_strcmp(ldif_field_names[i], type) && *value) {
- if(i == LDIF_ITEM_FIELDS - 1) /* this is a dirty hack */
+ if(!strcasecmp(ldif_field_names[i], type) && *value) {
+ if(i == LDIF_ITEM_FIELDS - 1) /* this is a dirty hack */
if(safe_strcmp("person", value))
break;
if(safe_strcmp("person", value))
break;