summaryrefslogtreecommitdiffstats
path: root/imap/smap.c
diff options
context:
space:
mode:
Diffstat (limited to 'imap/smap.c')
-rw-r--r--imap/smap.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/imap/smap.c b/imap/smap.c
index 6f43a6e..56690b3 100644
--- a/imap/smap.c
+++ b/imap/smap.c
@@ -4215,9 +4215,7 @@ void smap()
if (strcmp(p, "IDLE") == 0)
{
- if ((p=getenv("IMAP_ENHANCEDIDLE")) == NULL
- || !atoi(p)
- || imapenhancedidle())
+ if (imapenhancedidle())
imapidle();
read_timeout(60);