]> granicus.if.org Git - mutt/commitdiff
Fix imap_passive. From Brendan Cully.
authorThomas Roessler <roessler@does-not-exist.org>
Fri, 21 Jul 2000 06:35:42 +0000 (06:35 +0000)
committerThomas Roessler <roessler@does-not-exist.org>
Fri, 21 Jul 2000 06:35:42 +0000 (06:35 +0000)
imap/imap.c

index 300f24d0349dc1bc00f837b3383130ed98000c13..3ffeb9452a985760d1ecaac51dbc61e255a69077 100644 (file)
@@ -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;