<<< Date Index >>>     <<< Thread Index >>>

imap timeout patch



Hi,

Any reason why this patch didn't get committed?  Without it we may
have to wait for two timeouts before we check the imap mailbox.

Huw.

Index: imap/imap.c
===================================================================
RCS file: /home/roessler/cvs/mutt/imap/imap.c,v
retrieving revision 3.11
diff -u -r3.11 imap.c
--- imap/imap.c 11 Aug 2003 14:06:08 -0000      3.11
+++ imap/imap.c 11 Sep 2003 16:53:18 -0000
@@ -1135,7 +1135,7 @@
 
   idata = (IMAP_DATA*) ctx->data;
 
-  if ((force || time(NULL) > idata->lastread + Timeout)
+  if ((force || time(NULL) >= idata->lastread + Timeout)
       && imap_exec (idata, "NOOP", 0) != 0)
     return -1;