aboutsummaryrefslogtreecommitdiffstats
path: root/conf.c
diff options
context:
space:
mode:
Diffstat (limited to 'conf.c')
-rw-r--r--conf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/conf.c b/conf.c
index 2f108f82..acb68f65 100644
--- a/conf.c
+++ b/conf.c
@@ -240,7 +240,7 @@ void dump_config(struct runctl *runp, struct query *querylist)
#if !INET6_ENABLE
ctl->server.port == KPOP_PORT &&
#else
- 0 == strcmp( ctl->server.service, KPOP_PORT ) &&
+ ctl->server.service && !strcmp(ctl->server.service, KPOP_PORT ) &&
#endif
ctl->server.preauthenticate == A_KERBEROS_V4);