> No reason. Anyone have a non-html version they could send me? Thanks.
If I drop in the code fragment by hand to the new release I get
the following.
Cheers,
- Joel
--- imap-2007d/src/imapd/imapd.c.orig 2008-06-05 04:39:54.000000000 +1000
+++ imap-2007d/src/imapd/imapd.c 2008-11-01 08:12:43.000000000 +1100
@@ -1300,15 +1300,6 @@
unsigned long donefake = 0;
PSOUT ("+ Waiting for DONE\015\012");
PFLUSH (); /* dump output buffer */
- /* maybe do a checkpoint if not anonymous */
- if (!anonymous && stream && (time (0) > lastcheck + CHECKTIMER)) {
- mail_check (stream);
- /* cancel likely altwin from mail_check() */
- if (lsterr) fs_give ((void **) &lsterr);
- if (lstwrn) fs_give ((void **) &lstwrn);
- /* remember last checkpoint */
- lastcheck = time (0);
- }
/* inactivity countdown */
i = ((TIMEOUT) / (IDLETIMER)) + 1;
do { /* main idle loop */
@@ -1316,6 +1307,15 @@
mail_parameters (stream,SET_ONETIMEEXPUNGEATPING,
(void *) stream);
ping_mailbox (uid);
+ /* maybe do a checkpoint if not anonymous */
+ if (!anonymous && stream && (time (0) > lastcheck +
CHECKTIMER)) {
+ mail_check (stream);
+ /* cancel likely altwin from mail_check() */
+ if (lsterr) fs_give ((void **) &lsterr);
+ if (lstwrn) fs_give ((void **) &lstwrn);
+ /* remember last checkpoint */
+ lastcheck = time (0);
+ }
}
if (lstwrn) { /* have a warning? */
PSOUT ("* NO ");
_______________________________________________
Imap-uw mailing list
[email protected]
http://mailman2.u.washington.edu/mailman/listinfo/imap-uw