rayhunter-check: pcapify qmdl

This commit is contained in:
Will Greenberg
2024-12-13 16:27:01 -08:00
committed by Cooper Quintin
parent 32149c3b37
commit 327eaddcd7
2 changed files with 37 additions and 4 deletions

View File

@@ -60,7 +60,7 @@ impl<T> QmdlReader<T> where T: AsyncRead + Unpin {
})
}
async fn get_next_messages_container(&mut self) -> Result<Option<MessagesContainer>, std::io::Error> {
pub async fn get_next_messages_container(&mut self) -> Result<Option<MessagesContainer>, std::io::Error> {
if let Some(max_bytes) = self.max_bytes {
if self.bytes_read >= max_bytes {
if self.bytes_read > max_bytes {