diff options
Diffstat (limited to 'fetchmail.c')
-rw-r--r-- | fetchmail.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |