Browse Source

slightly improve maildir rescan debugging

wip/maildir-path-under-inbox
Oswald Buddenhagen 3 years ago
parent
commit
8e83649c33
  1. 1
      src/drv_maildir.c

1
src/drv_maildir.c

@ -1477,6 +1477,7 @@ maildir_rescan( maildir_store_t *ctx )
ctx->fresh[0] = ctx->fresh[1] = 0; ctx->fresh[0] = ctx->fresh[1] = 0;
if (maildir_scan( ctx, &msglist ) != DRV_OK) if (maildir_scan( ctx, &msglist ) != DRV_OK)
return DRV_BOX_BAD; return DRV_BOX_BAD;
debug( "Maildir processing rescan of %s:\n", ctx->path );
for (msgapp = &ctx->msgs, i = 0; (msg = *msgapp) || i < msglist.array.size; ) { for (msgapp = &ctx->msgs, i = 0; (msg = *msgapp) || i < msglist.array.size; ) {
if (!msg) { if (!msg) {
#if 0 #if 0

Loading…
Cancel
Save