From ae1cb0762bdee5044b84f9267826f1a0fcbef66f Mon Sep 17 00:00:00 2001 From: esrrhs Date: Tue, 18 Dec 2018 16:08:28 +0800 Subject: [PATCH] fix --- pingtunnel.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pingtunnel.go b/pingtunnel.go index 79adbb0..7de1588 100644 --- a/pingtunnel.go +++ b/pingtunnel.go @@ -66,6 +66,8 @@ func (p *MyMsg) MarshalString(s string) []byte { // Marshal implements the Marshal method of MessageBody interface. func (p *MyMsg) Unmarshal(b []byte) error { + defer func() { + }() p.TYPE = binary.BigEndian.Uint32(b[:4])