mirror of
https://bitbucket.org/jsuto/piler.git
synced 2024-12-25 17:20:13 +01:00
fix recipient list issue: do a case insensitive comparison of the email addresses
This commit is contained in:
parent
6d868c911a
commit
54d78670e1
@ -56,7 +56,7 @@ int is_string_on_list(struct list *list, char *s){
|
||||
p = list;
|
||||
|
||||
while(p != NULL){
|
||||
if(strcmp(p->s, s) == 0) return 1;
|
||||
if(strcasecmp(p->s, s) == 0) return 1;
|
||||
p = p->r;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user