cargo fmt

This commit is contained in:
Simon Laux
2019-08-12 01:33:07 +02:00
parent b9bd128c7a
commit 2dd3088f50

View File

@@ -152,8 +152,7 @@ unsafe fn poke_spec(context: &Context, spec: *const libc::c_char) -> libc::c_int
if ok_to_continue { if ok_to_continue {
let ok_to_continue2; let ok_to_continue2;
suffix = dc_get_filesuffix_lc(real_spec); suffix = dc_get_filesuffix_lc(real_spec);
if !suffix.is_null() if !suffix.is_null() && strcmp(suffix, b"eml\x00" as *const u8 as *const libc::c_char) == 0
&& strcmp(suffix, b"eml\x00" as *const u8 as *const libc::c_char) == 0
{ {
if 0 != dc_poke_eml_file(context, real_spec) { if 0 != dc_poke_eml_file(context, real_spec) {
read_cnt += 1 read_cnt += 1