mirror of
https://github.com/ergochat/ergo.git
synced 2024-11-13 07:29:30 +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
|
var err error
|
||||||
if 0 < len(buffers) {
|
if 0 < len(buffers) {
|
||||||
socket.conn.WriteBuffers(buffers)
|
err = socket.conn.WriteBuffers(buffers)
|
||||||
}
|
}
|
||||||
|
|
||||||
closed = closed || err != nil
|
closed = closed || err != nil
|
||||||
|
Loading…
Reference in New Issue
Block a user