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 committed Jul 7, 2017
1 parent c9c4494 commit f4b0869
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/lib-storage/mail-storage.c
Expand Up @@ -2356,6 +2356,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 f4b0869

Please sign in to comment.