mirror of
https://github.com/amnezia-vpn/amneziawg-go.git
synced 2025-04-15 21:46:54 +02:00
ipc/winpipe: go fmt
Signed-off-by: Matt Layher <mdlayher@gmail.com>
This commit is contained in:
parent
da61947ec3
commit
80ef2a42e6
1 changed files with 1 additions and 1 deletions
|
@ -26,4 +26,4 @@ func SddlToSecurityDescriptor(sddl string) ([]byte, error) {
|
||||||
sd := make([]byte, getSecurityDescriptorLength(sdBuffer))
|
sd := make([]byte, getSecurityDescriptorLength(sdBuffer))
|
||||||
copy(sd, (*[0xffff]byte)(unsafe.Pointer(sdBuffer))[:len(sd)])
|
copy(sd, (*[0xffff]byte)(unsafe.Pointer(sdBuffer))[:len(sd)])
|
||||||
return sd, nil
|
return sd, nil
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue