mirror of
https://github.com/chatmail/core.git
synced 2026-04-28 19:06:35 +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
|
||||
}
|
||||
if OK_TO_CONTINUE == false {
|
||||
while 0 != *p1 {
|
||||
if *p1 as libc::c_int > 0x7fi32 {
|
||||
*p1 = '_' as i32 as libc::c_uchar
|
||||
}
|
||||
p1 = p1.offset(1isize)
|
||||
while 0 != *p1 {
|
||||
if *p1 as libc::c_int > 0x7fi32 {
|
||||
*p1 = '_' as i32 as libc::c_uchar
|
||||
}
|
||||
return;
|
||||
p1 = p1.offset(1isize)
|
||||
}
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user