0

Обновлены завендоренные зависимости

This commit is contained in:
eleksir
2023-05-18 01:07:19 +03:00
parent d22c83bc4e
commit 05f12e2d50
180 changed files with 4810 additions and 2249 deletions

View File

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