Merge pull request #59 from gansidui/master

Fix typo in comment
This commit is contained in:
Gary Burd 2015-04-18 03:52:33 -07:00
commit ecff5aabe4
1 changed files with 1 additions and 1 deletions

View File

@ -801,7 +801,7 @@ func (c *Conn) SetPingHandler(h func(string) error) {
c.handlePing = h
}
// SetPongHandler sets then handler for pong messages received from the peer.
// SetPongHandler sets the handler for pong messages received from the peer.
// The default pong handler does nothing.
func (c *Conn) SetPongHandler(h func(string) error) {
if h == nil {