Return bool from mailmime_transfer_decode

This commit is contained in:
Alexander Krotov
2019-09-12 12:58:31 +03:00
parent 27a4adb9c6
commit 50a812ea5e
3 changed files with 18 additions and 24 deletions

View File

@@ -831,7 +831,7 @@ unsafe fn handle_reports(
let mut report_body_bytes = 0;
let mut to_mmap_string_unref = std::ptr::null_mut();
if 0 != mailmime_transfer_decode(
if mailmime_transfer_decode(
report_data,
&mut report_body,
&mut report_body_bytes,