Merge pull request #33 from JoeWrightss/patch-1

Fix returns error message
This commit is contained in:
Phil Estes
2019-02-10 20:22:30 -08:00
committed by GitHub
2 changed files with 2 additions and 2 deletions

View File

@@ -255,7 +255,7 @@ func (c *Client) recv(resp *Response, msg *message) error {
}
if msg.Type != messageTypeResponse {
return errors.New("unkown message type received")
return errors.New("unknown message type received")
}
defer c.channel.putmbuf(msg.p)