aboutsummaryrefslogtreecommitdiffstats
path: root/fetchmail.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>1996-10-08 05:03:55 +0000
committerEric S. Raymond <esr@thyrsus.com>1996-10-08 05:03:55 +0000
commitcaee98b5322babe97c33a64141a413f430e9a8ba (patch)
treea4140c3996f7d178ca02df7e8b764f10a93b8b63 /fetchmail.c
parent36e3009461df70159a9dad1906c23fc51491f761 (diff)
downloadfetchmail-caee98b5322babe97c33a64141a413f430e9a8ba.tar.gz
fetchmail-caee98b5322babe97c33a64141a413f430e9a8ba.tar.bz2
fetchmail-caee98b5322babe97c33a64141a413f430e9a8ba.zip
Bug fixes and better RC file documentation.
svn path=/trunk/; revision=243
Diffstat (limited to 'fetchmail.c')
-rw-r--r--fetchmail.c2
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);