]> Pileus Git - ~andy/fetchmail/commitdiff
IPV6.
authorEric S. Raymond <esr@thyrsus.com>
Mon, 16 Feb 1998 17:02:20 +0000 (17:02 -0000)
committerEric S. Raymond <esr@thyrsus.com>
Mon, 16 Feb 1998 17:02:20 +0000 (17:02 -0000)
svn path=/trunk/; revision=1639

pop2.c

diff --git a/pop2.c b/pop2.c
index 653d35389b90209ddd8c639b2d06cbd65dbe2fbe..0f920ee307a37b18258792565a97dded19ab782f 100644 (file)
--- a/pop2.c
+++ b/pop2.c
@@ -123,7 +123,11 @@ static int pop2_logout(int sock, struct query *ctl)
 const static struct method pop2 =
 {
     "POP2",                            /* Post Office Protocol v2 */
+#if INET6
+    "pop2",                            /* standard POP3 port */
+#else /* INET6 */
     109,                               /* standard POP2 port */
+#endif /* INET6 */
     FALSE,                             /* this is not a tagged protocol */
     FALSE,                             /* does not use message delimiter */
     pop2_ok,                           /* parse command response */