diff --git a/src/dc_configure.rs b/src/dc_configure.rs index f2d4b9350..b6571feab 100644 --- a/src/dc_configure.rs +++ b/src/dc_configure.rs @@ -1050,11 +1050,7 @@ pub unsafe fn dc_job_do_DC_JOB_CONFIGURE_IMAP(context: &Context, _job: *mut dc_j dc_free_ongoing(context); } - context.call_cb( - Event::CONFIGURE_PROGRESS, - if success { 1000 } else { 0 }, - 0, - ); + context.call_cb(Event::CONFIGURE_PROGRESS, if success { 1000 } else { 0 }, 0); } pub unsafe fn dc_free_ongoing(context: &Context) { diff --git a/src/dc_job.rs b/src/dc_job.rs index ed56cb9b7..af2c684e3 100644 --- a/src/dc_job.rs +++ b/src/dc_job.rs @@ -58,7 +58,6 @@ pub unsafe fn dc_perform_imap_jobs(context: &Context) { info!(context, 0, "dc_perform_imap_jobs ended.",); } - unsafe fn dc_job_perform(context: &Context, thread: libc::c_int, probe_network: libc::c_int) { let process_row = |row: &rusqlite::Row| { let job = dc_job_t { diff --git a/src/imap.rs b/src/imap.rs index 5ab94ed23..574befce8 100644 --- a/src/imap.rs +++ b/src/imap.rs @@ -559,12 +559,7 @@ impl Imap { Some(ref mut session) => { if let Ok(caps) = session.capabilities() { if !context.sql.is_open() { - warn!( - context, - 0, - "IMAP-LOGIN as {} ok but ABORTING", - lp.mail_user, - ); + warn!(context, 0, "IMAP-LOGIN as {} ok but ABORTING", lp.mail_user,); teardown = true; } else { let can_idle = caps.has("IDLE");