Browse Source

don't forget to reset message counts when skipping scan

amends b6949c64d2.

CCMAIL: 744259@bugs.debian.org
1.1
Oswald Buddenhagen 11 years ago
parent
commit
4d8575100d
  1. 4
      src/drv_maildir.c

4
src/drv_maildir.c

@ -1030,8 +1030,10 @@ maildir_load( store_t *gctx, int minuid, int maxuid, int newuid, int *excs, int
ctx->excs = nfrealloc( excs, nexcs * sizeof(int) ); ctx->excs = nfrealloc( excs, nexcs * sizeof(int) );
ctx->nexcs = nexcs; ctx->nexcs = nexcs;
if (ctx->fresh) if (ctx->fresh) {
ctx->gen.count = ctx->gen.recent = 0;
goto dontscan; goto dontscan;
}
if (maildir_scan( ctx, &msglist ) != DRV_OK) { if (maildir_scan( ctx, &msglist ) != DRV_OK) {
cb( DRV_BOX_BAD, aux ); cb( DRV_BOX_BAD, aux );

Loading…
Cancel
Save