diff options
author | Damien Riegel <damien.riegel@gmail.com> | 2016-06-18 12:41:42 -0700 |
---|---|---|
committer | Damien Riegel <damien.riegel@gmail.com> | 2016-06-18 12:41:42 -0700 |
commit | 6355572e185e8e90ba1f136d5e506d1179d26484 (patch) | |
tree | b39931527f378715ce4190e4ed02c8599c8e4b2c /mh.c | |
parent | 35c3ae29bfe4d97723e584323abab57808569c70 (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 'mh.c')
-rw-r--r-- | mh.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1656,7 +1656,7 @@ static int mh_rewrite_message (CONTEXT * ctx, int msgno) else rc = _mh_commit_message (ctx, dest, h, 0); - mx_close_message (&dest); + mx_close_message (ctx, &dest); if (rc == 0) { @@ -1687,7 +1687,7 @@ static int mh_rewrite_message (CONTEXT * ctx, int msgno) } } else - mx_close_message (&dest); + mx_close_message (ctx, &dest); if (rc == -1 && restore) { |