fix and implement ffi tranlation

This commit is contained in:
dignifiedquire
2019-09-15 19:31:07 +02:00
committed by Floris Bruynooghe
parent 5486ac5b9f
commit 0bf3d20e07
8 changed files with 80 additions and 41 deletions

View File

@@ -440,13 +440,10 @@ impl Imap {
emit_event!(
context,
Event::ErrorNetwork(
0,
format!(
"Could not connect to IMAP-server {}:{}. ({})",
imap_server, imap_port, err
)
)
Event::ErrorNetwork(format!(
"Could not connect to IMAP-server {}:{}. ({})",
imap_server, imap_port, err
))
);
return false;
@@ -464,7 +461,7 @@ impl Imap {
Err((err, _)) => {
emit_event!(
context,
Event::ErrorNetwork(0, format!("Cannot login ({})", err))
Event::ErrorNetwork(format!("Cannot login ({})", err))
);
self.unsetup_handle(context);