diff options
Diffstat (limited to 'libgo/go/websocket/websocket.go')
-rw-r--r-- | libgo/go/websocket/websocket.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libgo/go/websocket/websocket.go b/libgo/go/websocket/websocket.go index edde61b..7447cf8 100644 --- a/libgo/go/websocket/websocket.go +++ b/libgo/go/websocket/websocket.go @@ -158,7 +158,7 @@ func (ws *Conn) SetReadTimeout(nsec int64) os.Error { return os.EINVAL } -// SetWritetTimeout sets the connection's network write timeout in nanoseconds. +// SetWriteTimeout sets the connection's network write timeout in nanoseconds. func (ws *Conn) SetWriteTimeout(nsec int64) os.Error { if conn, ok := ws.rwc.(net.Conn); ok { return conn.SetWriteTimeout(nsec) |