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.
This commit is contained in:
parent
c84235b068
commit
83adb9a39b
|
@ -1325,9 +1325,11 @@ maildir_open_box( store_t *gctx,
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
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
|
static xint
|
||||||
|
|
Loading…
Reference in New Issue
Block a user