Skip to content

Commit

Permalink
lib-storage: convert missed mbox casts to container_of
Browse files Browse the repository at this point in the history
  • Loading branch information
Josef 'Jeff' Sipek authored and Timo Sirainen committed Sep 18, 2017
1 parent 13b2d87 commit ac254f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib-storage/index/mbox/mbox-save.c
Expand Up @@ -652,7 +652,7 @@ int mbox_save_continue(struct mail_save_context *_ctx)

int mbox_save_finish(struct mail_save_context *_ctx)
{
struct mbox_save_context *ctx = (struct mbox_save_context *)_ctx;
struct mbox_save_context *ctx = MBOX_SAVECTX(_ctx);

if (!ctx->failed && ctx->eoh_offset == (uoff_t)-1)
(void)mbox_save_finish_headers(ctx);
Expand Down

0 comments on commit ac254f6

Please sign in to comment.