mirror of
https://github.com/chatmail/core.git
synced 2026-05-08 09:26:29 +03:00
cargo fmt
This commit is contained in:
@@ -544,32 +544,32 @@ pub unsafe fn dc_job_do_DC_JOB_IMEX_IMAP(context: &Context, job: *mut dc_job_t)
|
|||||||
if ok_to_continue1 {
|
if ok_to_continue1 {
|
||||||
match what {
|
match what {
|
||||||
1 => {
|
1 => {
|
||||||
if 0 == export_self_keys(context, param1.as_ptr()) {
|
if 0 == export_self_keys(context, param1.as_ptr()) {
|
||||||
} else {
|
} else {
|
||||||
info!(context, 0, "Import/export completed.",);
|
info!(context, 0, "Import/export completed.",);
|
||||||
success = 1
|
success = 1
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
2 => {
|
2 => {
|
||||||
if 0 == import_self_keys(context, param1.as_ptr()) {
|
if 0 == import_self_keys(context, param1.as_ptr()) {
|
||||||
} else {
|
} else {
|
||||||
info!(context, 0, "Import/export completed.",);
|
info!(context, 0, "Import/export completed.",);
|
||||||
success = 1
|
success = 1
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
11 => {
|
11 => {
|
||||||
if 0 == export_backup(context, param1.as_ptr()) {
|
if 0 == export_backup(context, param1.as_ptr()) {
|
||||||
} else {
|
} else {
|
||||||
info!(context, 0, "Import/export completed.",);
|
info!(context, 0, "Import/export completed.",);
|
||||||
success = 1
|
success = 1
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
12 => {
|
12 => {
|
||||||
if 0 == import_backup(context, param1.as_ptr()) {
|
if 0 == import_backup(context, param1.as_ptr()) {
|
||||||
} else {
|
} else {
|
||||||
info!(context, 0, "Import/export completed.",);
|
info!(context, 0, "Import/export completed.",);
|
||||||
success = 1
|
success = 1
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
_ => {}
|
_ => {}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user