one byte for future use
This commit is contained in:
parent
f7b35defc9
commit
fdb038c7c9
1 changed files with 1 additions and 1 deletions
|
|
@ -330,7 +330,7 @@ impl Encrypt {
|
|||
}
|
||||
|
||||
pub fn dec(&mut self, bytes: &mut BytesMut) -> Result<(), Error> {
|
||||
if bytes.is_empty() {
|
||||
if bytes.len() <= 1 {
|
||||
return Ok(());
|
||||
}
|
||||
self.2 += 1;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue