mirror of
https://github.com/chatmail/core.git
synced 2026-04-28 10:56:29 +03:00
bytes ftw
This commit is contained in:
@@ -1183,11 +1183,11 @@ unsafe fn dc_mimeparser_add_single_part_if_known(
|
||||
info!(
|
||||
mimeparser.context,
|
||||
0,
|
||||
"Simplifying text: \n---\n{}\n--\n",
|
||||
String::from_utf8_lossy(std::slice::from_raw_parts(
|
||||
"Simplifying text: \n---\n{:?}\n--\n",
|
||||
std::slice::from_raw_parts(
|
||||
decoded_data as *const u8,
|
||||
decoded_data_bytes as usize,
|
||||
))
|
||||
)
|
||||
);
|
||||
}
|
||||
let simplified_txt = simplifier.unwrap().simplify(
|
||||
|
||||
Reference in New Issue
Block a user