diff options
| author | Max Audron <audron@cocaine.farm> | 2020-01-20 16:13:28 +0100 |
|---|---|---|
| committer | Max Audron <audron@cocaine.farm> | 2020-01-20 16:13:28 +0100 |
| commit | 6cde3378267abfacdf770317844bc916545f8582 (patch) | |
| tree | 8c2abccc593a8782786a8d00e2f0fd44685c0538 /src/protocol | |
| parent | update (diff) | |
update
Diffstat (limited to 'src/protocol')
| -rw-r--r-- | src/protocol/message/handshake/types.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/protocol/message/handshake/types.rs b/src/protocol/message/handshake/types.rs index c809764..3c5d019 100644 --- a/src/protocol/message/handshake/types.rs +++ b/src/protocol/message/handshake/types.rs @@ -77,7 +77,7 @@ impl HandshakeQRead for VariantMap { let ulen = len as usize; // Read the 00 00 00 0a VariantType bytes and discard - s.read(&mut b[4..ulen])?; + s.read(&mut b[4..(ulen + 4)])?; // let mut pos = 8; // let len: usize = len as usize; |
