Merge pull request #10791 from obsidiansystems/fix-format

Fix format
This commit is contained in:
John Ericson 2024-05-27 22:58:04 -04:00 committed by GitHub
commit ef96a58ed7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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);