From 4f1a25e1bfdc5a32b9e34942bd47ea93b9f7488e Mon Sep 17 00:00:00 2001 From: Simon Laux Date: Thu, 8 Aug 2019 01:07:35 +0200 Subject: [PATCH] cargo fmt --- src/dc_imex.rs | 40 ++++++++++++++++++++-------------------- 1 file changed, 20 insertions(+), 20 deletions(-) diff --git a/src/dc_imex.rs b/src/dc_imex.rs index c5cb2c933..4867c458c 100644 --- a/src/dc_imex.rs +++ b/src/dc_imex.rs @@ -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 { match what { 1 => { - if 0 == export_self_keys(context, param1.as_ptr()) { - } else { - info!(context, 0, "Import/export completed.",); - success = 1 - } + if 0 == export_self_keys(context, param1.as_ptr()) { + } else { + info!(context, 0, "Import/export completed.",); + success = 1 + } } 2 => { - if 0 == import_self_keys(context, param1.as_ptr()) { - } else { - info!(context, 0, "Import/export completed.",); - success = 1 - } + if 0 == import_self_keys(context, param1.as_ptr()) { + } else { + info!(context, 0, "Import/export completed.",); + success = 1 + } } 11 => { - if 0 == export_backup(context, param1.as_ptr()) { - } else { - info!(context, 0, "Import/export completed.",); - success = 1 - } + if 0 == export_backup(context, param1.as_ptr()) { + } else { + info!(context, 0, "Import/export completed.",); + success = 1 + } } 12 => { - if 0 == import_backup(context, param1.as_ptr()) { - } else { - info!(context, 0, "Import/export completed.",); - success = 1 - } + if 0 == import_backup(context, param1.as_ptr()) { + } else { + info!(context, 0, "Import/export completed.",); + success = 1 + } } _ => {} }