aboutsummaryrefslogtreecommitdiffstats
path: root/pop2.c
diff options
context:
space:
mode:
Diffstat (limited to 'pop2.c')
-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 */