aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tunnel/ipcpermissions.go
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2019-08-03 10:47:01 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2019-08-03 10:47:43 +0200
commite768a1ea06588f09d11360913fddb96860619d6e (patch)
tree77aa6fe3de76c935dc43c53fa34454332820694e /tunnel/ipcpermissions.go
parentinstaller: unify XML empty-element spacing (diff)
downloadwireguard-windows-e768a1ea06588f09d11360913fddb96860619d6e.tar.xz
wireguard-windows-e768a1ea06588f09d11360913fddb96860619d6e.zip
tunnel: style
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to '')
-rw-r--r--tunnel/ipcpermissions.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/tunnel/ipcpermissions.go b/tunnel/ipcpermissions.go
index 48f21f1f..20af4257 100644
--- a/tunnel/ipcpermissions.go
+++ b/tunnel/ipcpermissions.go
@@ -19,7 +19,7 @@ func CopyConfigOwnerToIPCSecurityDescriptor(filename string) error {
if conf.PathIsEncrypted(filename) {
return nil
}
- handle, err := windows.CreateFile(windows.StringToUTF16Ptr(filename), windows.STANDARD_RIGHTS_READ, windows.FILE_SHARE_READ | windows.FILE_SHARE_WRITE, nil, windows.OPEN_EXISTING, 0, 0)
+ handle, err := windows.CreateFile(windows.StringToUTF16Ptr(filename), windows.STANDARD_RIGHTS_READ, windows.FILE_SHARE_READ|windows.FILE_SHARE_WRITE, nil, windows.OPEN_EXISTING, 0, 0)
if err != nil {
return err
}