mirror of
https://github.com/chatmail/core.git
synced 2026-05-08 17:36:29 +03:00
run cargo fmt
This commit is contained in:
committed by
Floris Bruynooghe
parent
9fb9fb0fc1
commit
566d255b33
@@ -317,13 +317,13 @@ pub unsafe fn dc_replace_bad_utf8_chars(buf: *mut libc::c_char) {
|
|||||||
i += 1
|
i += 1
|
||||||
}
|
}
|
||||||
if OK_TO_CONTINUE == false {
|
if OK_TO_CONTINUE == false {
|
||||||
while 0 != *p1 {
|
while 0 != *p1 {
|
||||||
if *p1 as libc::c_int > 0x7fi32 {
|
if *p1 as libc::c_int > 0x7fi32 {
|
||||||
*p1 = '_' as i32 as libc::c_uchar
|
*p1 = '_' as i32 as libc::c_uchar
|
||||||
}
|
|
||||||
p1 = p1.offset(1isize)
|
|
||||||
}
|
}
|
||||||
return;
|
p1 = p1.offset(1isize)
|
||||||
|
}
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user