summaryrefslogtreecommitdiffstats
path: root/imap
diff options
context:
space:
mode:
authorThomas Roessler <roessler@does-not-exist.org>2000-07-21 06:35:42 +0000
committerThomas Roessler <roessler@does-not-exist.org>2000-07-21 06:35:42 +0000
commita0c711d6de661ff7380ea287eba400b8b43c722c (patch)
tree4468385e0de1969b9a798baa5f207f991ea57f86 /imap
parent63f346b55d8b818d9e0a39feb15a2ff2b2c70593 (diff)
Fix imap_passive. From Brendan Cully.
Diffstat (limited to 'imap')
-rw-r--r--imap/imap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/imap/imap.c b/imap/imap.c
index 300f24d0..3ffeb945 100644
--- a/imap/imap.c
+++ b/imap/imap.c
@@ -1227,7 +1227,7 @@ int imap_mailbox_check (char* path, int new)
/* If imap_passive is set, don't open a connection to check for new mail */
if (option (OPTIMAPPASSIVE))
- connflags &= M_IMAP_CONN_NONEW;
+ connflags = M_IMAP_CONN_NONEW;
if (!(idata = imap_conn_find (&(mx.account), connflags)))
return -1;