mirror of
https://github.com/chatmail/core.git
synced 2026-05-02 21:06:31 +03:00
fix and implement ffi tranlation
This commit is contained in:
committed by
Floris Bruynooghe
parent
5486ac5b9f
commit
0bf3d20e07
13
src/imap.rs
13
src/imap.rs
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user