revert unix changes

This commit is contained in:
Yaroslav Vorobiov
2020-03-26 14:46:14 +02:00
parent 05e35ff28f
commit d3ae10d534

View File

@@ -235,7 +235,7 @@ func anyToSockaddr(fd int, rsa *RawSockaddrAny) (Sockaddr, error) {
}
}
bytes := (*[10000]byte)(unsafe.Pointer(&pp.Path[0]))[0:n:n]
bytes := (*[10000]byte)(unsafe.Pointer(&pp.Path[0]))[0:n]
sa.Name = string(bytes)
return sa, nil