aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>1998-02-16 17:02:20 +0000
committerEric S. Raymond <esr@thyrsus.com>1998-02-16 17:02:20 +0000
commitd65f7e22937bf45978806ca8215c9da763a55f91 (patch)
tree3b4a53d0cb23b42eee7ab267e0d53016ca9e92be
parent89aa91e5076e77ebc063bfa97a3cccaba3fe1f32 (diff)
downloadfetchmail-d65f7e22937bf45978806ca8215c9da763a55f91.tar.gz
fetchmail-d65f7e22937bf45978806ca8215c9da763a55f91.tar.bz2
fetchmail-d65f7e22937bf45978806ca8215c9da763a55f91.zip
IPV6.
svn path=/trunk/; revision=1639
-rw-r--r--pop2.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/pop2.c b/pop2.c
index 653d3538..0f920ee3 100644
--- 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 */