mirror of
https://github.com/chatmail/core.git
synced 2026-05-16 21:36:30 +03:00
fix rust-formatting
This commit is contained in:
@@ -943,7 +943,10 @@ unsafe fn import_backup(context: &Context, backup_to_import: *const libc::c_char
|
|||||||
);
|
);
|
||||||
sqlite3_step(stmt);
|
sqlite3_step(stmt);
|
||||||
total_files_cnt = sqlite3_column_int(stmt, 0i32);
|
total_files_cnt = sqlite3_column_int(stmt, 0i32);
|
||||||
info!(context, 0, "***IMPORT-in-progress: total_files_cnt={:?}", total_files_cnt);
|
info!(
|
||||||
|
context,
|
||||||
|
0, "***IMPORT-in-progress: total_files_cnt={:?}", total_files_cnt
|
||||||
|
);
|
||||||
sqlite3_finalize(stmt);
|
sqlite3_finalize(stmt);
|
||||||
stmt = dc_sqlite3_prepare(
|
stmt = dc_sqlite3_prepare(
|
||||||
context,
|
context,
|
||||||
@@ -1087,9 +1090,9 @@ unsafe fn export_backup(context: &Context, dir: *const libc::c_char) -> libc::c_
|
|||||||
context.sql.close(&context);
|
context.sql.close(&context);
|
||||||
closed = 1i32;
|
closed = 1i32;
|
||||||
info!(
|
info!(
|
||||||
context,
|
context,
|
||||||
0,
|
0,
|
||||||
"Backup \"{}\" to \"{}\".",
|
"Backup \"{}\" to \"{}\".",
|
||||||
as_str(context.get_dbfile()),
|
as_str(context.get_dbfile()),
|
||||||
as_str(dest_pathNfilename),
|
as_str(dest_pathNfilename),
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user