aboutsummaryrefslogtreecommitdiffstats
path: root/checkalias.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2000-03-13 20:50:16 +0000
committerEric S. Raymond <esr@thyrsus.com>2000-03-13 20:50:16 +0000
commitf655a5a987831a31c122a5b13c5c784b04ac55d9 (patch)
treef6ac2494a128518753fc049063b1c83840649656 /checkalias.c
parent7576f100c88e3c2ecdd757da18de08daadbb67a3 (diff)
downloadfetchmail-f655a5a987831a31c122a5b13c5c784b04ac55d9.tar.gz
fetchmail-f655a5a987831a31c122a5b13c5c784b04ac55d9.tar.bz2
fetchmail-f655a5a987831a31c122a5b13c5c784b04ac55d9.zip
Correct the suffix check.
svn path=/trunk/; revision=2818
Diffstat (limited to 'checkalias.c')
-rw-r--r--checkalias.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/checkalias.c b/checkalias.c
index 7b377eb2..a16e04ca 100644
--- a/checkalias.c
+++ b/checkalias.c
@@ -136,7 +136,7 @@ int is_host_alias(const char *name, struct query *ctl)
* ep[-1] is a valid reference.
*/
if (strlen(idl->id) <= namelen)
- break;
+ continue;
ep = idl->id + (strlen(idl->id) - namelen);
/* a suffix led by . must match */
if (ep[-1] == '.' && !strcmp(ep, name))