From ae76c473cdc2f0980cea206e824de55eb47a74f8 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Wed, 9 Oct 1996 15:50:37 +0000 Subject: Really exclude defaults entry after first. svn path=/trunk/; revision=256 --- fetchmail.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 */ -- cgit v1.2.3