Skip to content

Commit

Permalink
fix listener session exception
Browse files Browse the repository at this point in the history
  • Loading branch information
kaori-seasons committed Jul 26, 2022
1 parent 00d0150 commit a07b14b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/listener/tcp/server_handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ func (h *ServerHandler) OnMessage(session getty.Session, pkg interface{}) {
}
h.rwlock.Unlock()

decodeResult, drOK := pkg.(remoting.DecodeResult)
decodeResult, drOK := pkg.(*remoting.DecodeResult)
if !drOK {
logger.Errorf("illegal package{%#v}", pkg)
return
Expand Down

0 comments on commit a07b14b

Please sign in to comment.