3
0
mirror of https://github.com/ergochat/ergo.git synced 2024-12-26 04:32:36 +01:00

fix missing err check, thanks @eklitzke

This commit is contained in:
Shivaram Lingamneni 2020-05-04 23:42:34 -04:00
parent 3dc5c8de78
commit 3d3aec6979

View File

@ -216,7 +216,7 @@ func (socket *Socket) performWrite() (closed bool) {
var err error
if 0 < len(buffers) {
socket.conn.WriteBuffers(buffers)
err = socket.conn.WriteBuffers(buffers)
}
closed = closed || err != nil