Skip to content

Commit

Permalink
sendOK -> writeOK
Browse files Browse the repository at this point in the history
  • Loading branch information
Darkren committed Jun 20, 2019
1 parent 99dc018 commit eef4bf6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/dmsg/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ func (c *ServerConn) delChan(id uint16, why byte) error {
return nil
}

func (c *ServerConn) sendOK() error {
func (c *ServerConn) writeOK() error {
if err := writeFrame(c.Conn, MakeFrame(OkType, 0, nil)); err != nil {
return err
}
Expand Down

0 comments on commit eef4bf6

Please sign in to comment.