fix idle loop error

This commit is contained in:
Quentin 2024-02-08 19:40:43 +01:00
parent 678c5bacc6
commit 59f4bdf9d0
Signed by: quentin
GPG key ID: E9602264D639FF68

View file

@ -368,7 +368,8 @@ impl NetLoop {
}, },
// User is trying to interact with us // 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; use imap_codec::decode::Decoder;
let codec = imap_codec::IdleDoneCodec::new(); let codec = imap_codec::IdleDoneCodec::new();
tracing::trace!("client sent some data for the server IMAP session"); tracing::trace!("client sent some data for the server IMAP session");