aboutsummaryrefslogtreecommitdiffstats
path: root/imap.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>1998-02-16 16:14:42 +0000
committerEric S. Raymond <esr@thyrsus.com>1998-02-16 16:14:42 +0000
commit89aa91e5076e77ebc063bfa97a3cccaba3fe1f32 (patch)
treec6ee2781c62465271d04a9a129429d9033ea1b08 /imap.c
parent11c923c76bf231553d06edc0b41bcd94441c39c5 (diff)
downloadfetchmail-89aa91e5076e77ebc063bfa97a3cccaba3fe1f32.tar.gz
fetchmail-89aa91e5076e77ebc063bfa97a3cccaba3fe1f32.tar.bz2
fetchmail-89aa91e5076e77ebc063bfa97a3cccaba3fe1f32.zip
IPV6.
svn path=/trunk/; revision=1638
Diffstat (limited to 'imap.c')
-rw-r--r--imap.c7
1 files changed, 6 insertions, 1 deletions
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 */