From 89aa91e5076e77ebc063bfa97a3cccaba3fe1f32 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Mon, 16 Feb 1998 16:14:42 +0000 Subject: IPV6. svn path=/trunk/; revision=1638 --- imap.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'imap.c') diff --git a/imap.c b/imap.c index 90a48f6f..6e57a185 100644 --- a/imap.c +++ b/imap.c @@ -864,7 +864,12 @@ static int imap_logout(int sock, struct query *ctl) const static struct method imap = { "IMAP", /* Internet Message Access Protocol */ - 143, /* standard IMAP2bis/IMAP4 port */ +#if INET6 + "imap", +#else /* INET6 */ + 143, /* standard IMAP2bis/IMAP4 port */ +#endif /* INET6 */ + TRUE, /* this is a tagged protocol */ TRUE, /* this is a tagged protocol */ FALSE, /* no message delimiter */ imap_ok, /* parse command response */ -- cgit v1.2.3