diff options
author | Eric S. Raymond <esr@thyrsus.com> | 1996-10-09 15:50:37 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 1996-10-09 15:50:37 +0000 |
commit | ae76c473cdc2f0980cea206e824de55eb47a74f8 (patch) | |
tree | b193c43aaa202414dc6e8b402a0a9edc5da93900 | |
parent | cbcc7689c7ea574a18aef466d230f187a0bce58c (diff) | |
download | fetchmail-ae76c473cdc2f0980cea206e824de55eb47a74f8.tar.gz fetchmail-ae76c473cdc2f0980cea206e824de55eb47a74f8.tar.bz2 fetchmail-ae76c473cdc2f0980cea206e824de55eb47a74f8.zip |
Really exclude defaults entry after first.
svn path=/trunk/; revision=256
-rw-r--r-- | fetchmail.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fetchmail.c b/fetchmail.c index 3f97245b..5deb7058 100644 --- a/fetchmail.c +++ b/fetchmail.c @@ -175,7 +175,7 @@ char **argv; /* don't allow a defaults record after the first */ for (hostp = hostlist; hostp; hostp = hostp->next) - if (strcmp(hostlist->servername, "defaults") == 0) + if (strcmp(hostp->servername, "defaults") == 0) exit(PS_SYNTAX); /* merge in wired defaults, do sanity checks and prepare internal fields */ |