From eef4bf63ad620d67cb90a580cb64be44b7958b0b Mon Sep 17 00:00:00 2001 From: Sir Darkrengarius Date: Thu, 20 Jun 2019 15:19:57 +0300 Subject: [PATCH] `sendOK` -> `writeOK` --- pkg/dmsg/server.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/dmsg/server.go b/pkg/dmsg/server.go index 5e4279691e..8b1e66b44d 100644 --- a/pkg/dmsg/server.go +++ b/pkg/dmsg/server.go @@ -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 }