aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2001-09-09 10:39:49 +0000
committerEric S. Raymond <esr@thyrsus.com>2001-09-09 10:39:49 +0000
commitefabbd450473c02b7a20de6a0169f75c9df2ca87 (patch)
tree5d7b39aef28fc5798a224aca25e9f1ba1978801a
parent37aa9ee8b000877b3d7d47eac5e0a17afb78195e (diff)
downloadfetchmail-efabbd450473c02b7a20de6a0169f75c9df2ca87.tar.gz
fetchmail-efabbd450473c02b7a20de6a0169f75c9df2ca87.tar.bz2
fetchmail-efabbd450473c02b7a20de6a0169f75c9df2ca87.zip
Caseblind suffix comparisons.
svn path=/trunk/; revision=3458
-rw-r--r--checkalias.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/checkalias.c b/checkalias.c
index 90a7ffd5..8525d24a 100644
--- a/checkalias.c
+++ b/checkalias.c
@@ -143,7 +143,7 @@ int is_host_alias(const char *name, struct query *ctl)
continue;
ep = (char *)name + (namelen - strlen(idl->id));
/* a suffix led by . must match */
- if (ep[-1] == '.' && !strcmp(ep, idl->id))
+ if (ep[-1] == '.' && !strcasecmp(ep, idl->id))
return(TRUE);
}