diff options
author | Kevin McCarthy <kevin@8t8.us> | 2016-11-08 12:42:56 -0800 |
---|---|---|
committer | Kevin McCarthy <kevin@8t8.us> | 2016-11-08 12:42:56 -0800 |
commit | e9de20435e17fa7bf5edb62fe5af19ae60158d9b (patch) | |
tree | 8041495ca2d6a7214b1174239c7e06d6b967cefb /README.SSL | |
parent | e494e70b9930e57198aaaa16ab6b008f73351149 (diff) |
Move mbox close-append logic inside mbox_close_mailbox().
The mx_fastclose_mailbox() calls mx_ops->close(), which invokes
mbox_close_mailbox().
Also, close the ctx->fp inside mbox_close_mailbox(). This way, the
(to be added) compress logic can call the mx_ops->close() instead of
"knowing" to close the fp before recompressing.
mx_fastclose_mailbox() will safe_fclose() the fp again, but I'm
leaving it there just in case I missed a usage of the fp in some other
part of the code.
Thanks to Damien Riegel for the original patch.
Diffstat (limited to 'README.SSL')
0 files changed, 0 insertions, 0 deletions