cargo fmt

This commit is contained in:
Alexander Krotov
2019-12-14 22:28:15 +01:00
parent ad700b45d0
commit 3f49492ccf
2 changed files with 73 additions and 72 deletions

View File

@@ -542,13 +542,14 @@ fn try_imap_one_param(context: &Context, param: &LoginParam) -> Option<bool> {
param.imap_certificate_checks
);
info!(context, "Trying: {}", inf);
if task::block_on(context
.inbox_thread
.read()
.unwrap()
.imap
.connect(context, &param))
{
if task::block_on(
context
.inbox_thread
.read()
.unwrap()
.imap
.connect(context, &param),
) {
info!(context, "success: {}", inf);
return Some(true);
}