From ed16a717f689c35efa4a34509ce01830442e2895 Mon Sep 17 00:00:00 2001 From: jake Date: Sat, 9 Nov 2019 22:57:01 -0800 Subject: [PATCH] show data as well in wrongpacketforservertype --- src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib.rs b/src/lib.rs index 280e601..6b63ce3 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -10,7 +10,7 @@ use std::io::Read; pub enum PacketParseError { NotEnoughBytes, WrongPacketCommand, - WrongPacketForServerType(u16), + WrongPacketForServerType(u16, Vec), WrongPacketSize(u16, usize), DataStructNotLargeEnough(u64, usize), InvalidValue,