aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorQuentin Dufour <quentin@deuxfleurs.fr>2024-02-08 19:40:43 +0100
committerQuentin Dufour <quentin@deuxfleurs.fr>2024-02-08 19:40:43 +0100
commit59f4bdf9d0a6d7ecf0d408b8645b1eaabf992c6b (patch)
tree1dc1dea97ece36e3fca65e33df0c86c308620ef7
parent678c5bacc68b31e10ef35e6ebaa00d2c8f9e156c (diff)
downloadaerogramme-59f4bdf9d0a6d7ecf0d408b8645b1eaabf992c6b.tar.gz
aerogramme-59f4bdf9d0a6d7ecf0d408b8645b1eaabf992c6b.zip
fix idle loop error
-rw-r--r--src/imap/mod.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/imap/mod.rs b/src/imap/mod.rs
index d3508fa..6f143d7 100644
--- a/src/imap/mod.rs
+++ b/src/imap/mod.rs
@@ -368,7 +368,8 @@ impl NetLoop {
},
// User is trying to interact with us
- _read_client_bytes = self.server.stream.read(&mut buff) => {
+ read_client_result = self.server.stream.read(&mut buff) => {
+ let _bytes_read = read_client_result?;
use imap_codec::decode::Decoder;
let codec = imap_codec::IdleDoneCodec::new();
tracing::trace!("client sent some data for the server IMAP session");