diff options
author | Quentin Dufour <quentin@deuxfleurs.fr> | 2024-02-08 19:40:43 +0100 |
---|---|---|
committer | Quentin Dufour <quentin@deuxfleurs.fr> | 2024-02-08 19:40:43 +0100 |
commit | 59f4bdf9d0a6d7ecf0d408b8645b1eaabf992c6b (patch) | |
tree | 1dc1dea97ece36e3fca65e33df0c86c308620ef7 | |
parent | 678c5bacc68b31e10ef35e6ebaa00d2c8f9e156c (diff) | |
download | aerogramme-59f4bdf9d0a6d7ecf0d408b8645b1eaabf992c6b.tar.gz aerogramme-59f4bdf9d0a6d7ecf0d408b8645b1eaabf992c6b.zip |
fix idle loop error
-rw-r--r-- | src/imap/mod.rs | 3 |
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"); |