mirror of
https://github.com/ergochat/ergo.git
synced 2024-11-10 22:19:31 +01:00
fix missing err check, thanks @eklitzke
This commit is contained in:
parent
3dc5c8de78
commit
3d3aec6979
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user