unmarshal allocation bugfix
This commit is contained in:
parent
5af01add64
commit
650782673d
@ -44,8 +44,8 @@ func ProcessOutboundTextMessage(peer *Peer, text string, srv *InternalServer) ([
|
||||
return protoPackedServerMsg, nil
|
||||
}
|
||||
|
||||
func ProcessServerResponse(srv *InternalServer, msg []byte) (fsmsg *meowlib.FromServerMessage, err error) {
|
||||
|
||||
func ProcessServerResponse(srv *InternalServer, msg []byte) (*meowlib.FromServerMessage, error) {
|
||||
fsmsg := &meowlib.FromServerMessage{}
|
||||
payload, signature, err := srv.UnPackServerMessage(msg)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
|
Loading…
Reference in New Issue
Block a user