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])