fix recipient list issue: do a case insensitive comparison of the email addresses

This commit is contained in:
SJ 2012-10-02 14:44:01 +02:00
parent 6d868c911a
commit 54d78670e1

View File

@ -56,7 +56,7 @@ int is_string_on_list(struct list *list, char *s){
p = list; p = list;
while(p != NULL){ while(p != NULL){
if(strcmp(p->s, s) == 0) return 1; if(strcasecmp(p->s, s) == 0) return 1;
p = p->r; p = p->r;
} }