diff options
-rw-r--r-- | imap.c | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -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 */ |