Fix format

39b2a399ad passed CI but was landed after
the formatting change in 1d6c2316a9.
This commit is contained in:
John Ericson 2024-05-27 22:32:52 -04:00
parent d0c7da131f
commit 1d5d748fe4

View file

@ -13,8 +13,14 @@ void AsyncPipe::createAsyncPipe(HANDLE iocp)
std::string pipeName = fmt("\\\\.\\pipe\\nix-%d-%p", GetCurrentProcessId(), (void *) this);
readSide = CreateNamedPipeA(
pipeName.c_str(), PIPE_ACCESS_INBOUND | FILE_FLAG_OVERLAPPED, PIPE_TYPE_BYTE, PIPE_UNLIMITED_INSTANCES, 0, 0,
INFINITE, NULL);
pipeName.c_str(),
PIPE_ACCESS_INBOUND | FILE_FLAG_OVERLAPPED,
PIPE_TYPE_BYTE,
PIPE_UNLIMITED_INSTANCES,
0,
0,
INFINITE,
NULL);
if (!readSide)
throw WinError("CreateNamedPipeA(%s)", pipeName);