aboutsummaryrefslogtreecommitdiffstats
path: root/fetchmail.c
diff options
context:
space:
mode:
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 dbd95ba2..63f9ef5c 100644
--- a/fetchmail.c
+++ b/fetchmail.c
@@ -1587,7 +1587,7 @@ static void dump_params (struct runctl *runp,
if (ctl->server.protocol == P_POP3
#if INET6_ENABLE
- && !strcmp(ctl->server.service, KPOP_PORT)
+ && ctl->server.service && !strcmp(ctl->server.service, KPOP_PORT)
#else /* INET6_ENABLE */
&& ctl->server.port == KPOP_PORT
#endif /* INET6_ENABLE */