+2008-09-01 18:23 +0200 Rocco Rutte <pdmef@gmx.net> (17adea9cdff6)
+
+ * UPDATING: Add note about locale-safe hcaches to UPDATING as it's a
+ user-visible change
+
+2008-08-31 23:36 +0200 Rocco Rutte <pdmef@gmx.net> (b6d07a662c7f)
+
+ * ChangeLog, init.h, pager.c: Fix pager to respect $wrap_search
+
2008-08-31 23:28 +0200 Rocco Rutte <pdmef@gmx.net> (f4b10e6b415c)
* doc/chunk.xsl, doc/html.xsl: Backout [e5610347fb3f] for further
i = Timeout > 0 ? Timeout : 60;
#ifdef USE_IMAP
/* keepalive may need to run more frequently than Timeout allows */
- while (ImapKeepalive && ImapKeepalive < i)
+ if (ImapKeepalive)
{
- timeout (ImapKeepalive * 1000);
- tmp = mutt_getch ();
- timeout (-1);
- if (tmp.ch != -2)
- /* something other than timeout */
- goto gotkey;
- i -= ImapKeepalive;
- imap_keepalive ();
+ if (ImapKeepalive >= i)
+ imap_keepalive ();
+ else
+ while (ImapKeepalive && ImapKeepalive < i)
+ {
+ timeout (ImapKeepalive * 1000);
+ tmp = mutt_getch ();
+ timeout (-1);
+ if (tmp.ch != -2)
+ /* something other than timeout */
+ goto gotkey;
+ i -= ImapKeepalive;
+ imap_keepalive ();
+ }
}
#endif