Improve mu_attachment_copy_ interface
* libmailutils/mime/attachment.c (mu_attachment_copy_from_stream) (mu_attachment_copy_from_file): Remove the encoding parameter. Take the encoding to use from the value of the Content-Transfer-Encoding header. Return EINVAL if it is not present. * include/mailutils/message.h (mu_attachment_copy_from_stream) (mu_attachment_copy_from_file): Change signature. All uses changed.
Showing
3 changed files
with
34 additions
and
21 deletions
-
Please register or sign in to post a comment