summaryrefslogtreecommitdiffstats
path: root/editmsg.c
diff options
context:
space:
mode:
authorDamien Riegel <damien.riegel@gmail.com>2016-06-18 12:41:42 -0700
committerDamien Riegel <damien.riegel@gmail.com>2016-06-18 12:41:42 -0700
commit6355572e185e8e90ba1f136d5e506d1179d26484 (patch)
treeb39931527f378715ce4190e4ed02c8599c8e4b2c /editmsg.c
parent35c3ae29bfe4d97723e584323abab57808569c70 (diff)
pass context in mx_close_message
The mx_close_message is one of the few mx_* functions that don't have a context as parameter. To make them more consistent, pass the context.
Diffstat (limited to 'editmsg.c')
-rw-r--r--editmsg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/editmsg.c b/editmsg.c
index 5a2e8f55..57d8b1ca 100644
--- a/editmsg.c
+++ b/editmsg.c
@@ -187,7 +187,7 @@ static int edit_one_message (CONTEXT *ctx, HEADER *cur)
}
rc = mx_commit_message (msg, &tmpctx);
- mx_close_message (&msg);
+ mx_close_message (&tmpctx, &msg);
mx_close_mailbox (&tmpctx, NULL);