Skip to content

Commit

Permalink
lib-storage: Clarify keywords handling in mail_save_finish
Browse files Browse the repository at this point in the history
  • Loading branch information
cmouse authored and sirainen committed Jul 18, 2017
1 parent 7922622 commit 830a446
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/lib-storage/mail-storage.c
Expand Up @@ -2368,6 +2368,8 @@ int mailbox_save_finish(struct mail_save_context **_ctx)
{
struct mail_save_context *ctx = *_ctx;
struct mailbox_transaction_context *t = ctx->transaction;
/* we need to keep a copy of this because save_finish implementations
will likely zero the data structure during cleanup */
struct mail_keywords *keywords = ctx->data.keywords;
enum mail_flags pvt_flags = ctx->data.pvt_flags;
bool copying_via_save = ctx->copying_via_save;
Expand Down

0 comments on commit 830a446

Please sign in to comment.