mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-22 05:56:15 +02:00
Fix format
39b2a399ad
passed CI but was landed after the formatting change in1d6c2316a9
.
This commit is contained in:
parent
d0c7da131f
commit
1d5d748fe4
1 changed files with 8 additions and 2 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue