Skip to content

Commit

Permalink
Fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
rcarman-r7 committed Mar 14, 2023
1 parent 1083264 commit e58a3ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pipe.go
Original file line number Diff line number Diff line change
Expand Up @@ -279,6 +279,7 @@ func makeServerPipeHandle(path string, sd []byte, c *PipeConfig, first bool) (sy
}
defer localFree(ntPath.Buffer)
oa.ObjectName = &ntPath
oa.Attributes = windows.OBJ_CASE_INSENSITIVE // use OBJ_CASE_INSENSITIVE sys.windows

// The security descriptor is only needed for the first pipe.
if first {
Expand Down Expand Up @@ -326,7 +327,6 @@ func makeServerPipeHandle(path string, sd []byte, c *PipeConfig, first bool) (sy
h syscall.Handle
iosb ioStatusBlock
)
oa.Attributes = windows.OBJ_CASE_INSENSITIVE // use OBJ_CASE_INSENSITIVE sys.windows
err = ntCreateNamedPipeFile(&h,
access,
&oa,
Expand Down

0 comments on commit e58a3ff

Please sign in to comment.