Browse Source

actually implement maildir_get_uidnext()

the assumption was that this wouldn't be needed, as maildir_store_msg()
reliably delivers a UID. however, if we crash right before the callback
can record that UID, we'd still use OPEN_FIND in the next run, which
requires the saved next UID.
1.4
Oswald Buddenhagen 4 years ago
parent
commit
83adb9a39b
  1. 6
      src/drv_maildir.c

6
src/drv_maildir.c

@ -1325,9 +1325,11 @@ maildir_open_box( store_t *gctx,
}
static int
maildir_get_uidnext( store_t *gctx ATTR_UNUSED )
maildir_get_uidnext( store_t *gctx )
{
return 0;
maildir_store_t *ctx = (maildir_store_t *)gctx;
return ctx->nuid;
}
static xint

Loading…
Cancel
Save