From caee98b5322babe97c33a64141a413f430e9a8ba Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Tue, 8 Oct 1996 05:03:55 +0000 Subject: Bug fixes and better RC file documentation. svn path=/trunk/; revision=243 --- fetchmail.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'fetchmail.c') diff --git a/fetchmail.c b/fetchmail.c index cb9a1e89..3062d3ea 100644 --- a/fetchmail.c +++ b/fetchmail.c @@ -165,7 +165,7 @@ char **argv; } /* if there's a defaults record, merge it and lose it */ - if (strcmp(hostlist->servername, "defaults") == 0) + if (hostlist && strcmp(hostlist->servername, "defaults") == 0) { for (hostp = hostlist; hostp; hostp = hostp->next) optmerge(hostp, hostlist); -- cgit v1.2.3