Browse Source

remove apparently pointless resetting of recent message count

past this point, it's not used for anything anyway.
1.1
Oswald Buddenhagen 11 years ago
parent
commit
8844ff3063
  1. 1
      src/drv_maildir.c

1
src/drv_maildir.c

@ -1056,7 +1056,6 @@ maildir_rescan( maildir_store_t *ctx )
if (maildir_scan( ctx, &msglist ) != DRV_OK) if (maildir_scan( ctx, &msglist ) != DRV_OK)
return DRV_BOX_BAD; return DRV_BOX_BAD;
ctx->gen.recent = 0;
for (msgapp = &ctx->gen.msgs, i = 0; for (msgapp = &ctx->gen.msgs, i = 0;
(msg = (maildir_message_t *)*msgapp) || i < msglist.nents; ) (msg = (maildir_message_t *)*msgapp) || i < msglist.nents; )
{ {

Loading…
Cancel
Save