aboutsummaryrefslogtreecommitdiffstats
path: root/conf.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2000-03-03 23:21:32 +0000
committerEric S. Raymond <esr@thyrsus.com>2000-03-03 23:21:32 +0000
commita361060c37476243e444195491d93f77a75ef16e (patch)
tree7eba7c1bd699ee89abc77b1effc5e3b0038b6084 /conf.c
parenteb2a027035041df8ccb694a84e54cbe4e6bc95c9 (diff)
downloadfetchmail-a361060c37476243e444195491d93f77a75ef16e.tar.gz
fetchmail-a361060c37476243e444195491d93f77a75ef16e.tar.bz2
fetchmail-a361060c37476243e444195491d93f77a75ef16e.zip
Fix for IPv6.
svn path=/trunk/; revision=2780
Diffstat (limited to 'conf.c')
-rw-r--r--conf.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/conf.c b/conf.c
index 19f290f0..1f1039e2 100644
--- a/conf.c
+++ b/conf.c
@@ -249,9 +249,10 @@ void dump_config(struct runctl *runp, struct query *querylist)
stringdump("via", ctl->server.via);
stringdump("protocol",
using_kpop ? "KPOP" : showproto(ctl->server.protocol));
+#ifndef INET6_ENABLE
numdump("port", ctl->server.port);
-#if INET6_ENABLE
- stringdump("service", ctl->server.service);
+#else
+ stringdump("port", ctl->server.service);
#endif
numdump("timeout", ctl->server.timeout);
numdump("interval", ctl->server.interval);