From e58a3ff7fd413cfdd002e149b51611bfd74a177c Mon Sep 17 00:00:00 2001 From: Robert Carman Date: Tue, 14 Mar 2023 12:45:40 -0400 Subject: [PATCH] Fix formatting --- pipe.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pipe.go b/pipe.go index ae30fbc7..9bba8552 100644 --- a/pipe.go +++ b/pipe.go @@ -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 { @@ -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,