mirror of
https://github.com/slackhq/nebula.git
synced 2026-05-16 04:47:38 +02:00
fix
This commit is contained in:
@@ -127,7 +127,6 @@ func (t *Poll) readOne(to []byte) (int, error) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Write is only valid for single threaded use
|
|
||||||
func (t *Poll) Write(from []byte) (int, error) {
|
func (t *Poll) Write(from []byte) (int, error) {
|
||||||
for {
|
for {
|
||||||
n, errno := unix.Write(t.fd, from)
|
n, errno := unix.Write(t.fd, from)
|
||||||
|
|||||||
Reference in New Issue
Block a user