This commit is contained in:
holger krekel
2019-07-17 12:08:06 +02:00
parent caac871092
commit f8db71e589
3 changed files with 2 additions and 12 deletions

View File

@@ -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) {

View File

@@ -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 {

View File

@@ -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");