mirror of
https://github.com/debauchee/barrier.git
synced 2026-05-08 14:41:57 +08:00
normalised line endings.
This commit is contained in:
@@ -359,10 +359,10 @@ CApp::pipeThread(void*)
|
||||
sa.lpSecurityDescriptor = &sd;
|
||||
|
||||
HANDLE pipe = CreateNamedPipe(
|
||||
_T("\\\\.\\pipe\\SynergyNode"),
|
||||
PIPE_ACCESS_DUPLEX,
|
||||
PIPE_TYPE_MESSAGE | PIPE_READMODE_MESSAGE | PIPE_WAIT,
|
||||
PIPE_UNLIMITED_INSTANCES,
|
||||
_T("\\\\.\\pipe\\SynergyNode"),
|
||||
PIPE_ACCESS_DUPLEX,
|
||||
PIPE_TYPE_MESSAGE | PIPE_READMODE_MESSAGE | PIPE_WAIT,
|
||||
PIPE_UNLIMITED_INSTANCES,
|
||||
1024, 1024, 0, &sa);
|
||||
|
||||
if (pipe == INVALID_HANDLE_VALUE)
|
||||
@@ -380,12 +380,12 @@ CApp::pipeThread(void*)
|
||||
}
|
||||
|
||||
buffer[bytesRead] = '\0';
|
||||
LOG((CLOG_DEBUG "ipc node server read: %s", buffer));
|
||||
|
||||
LOG((CLOG_DEBUG "ipc node server read: %s", buffer));
|
||||
|
||||
handlePipeMessage(buffer);
|
||||
}
|
||||
|
||||
DisconnectNamedPipe(pipe);
|
||||
}
|
||||
|
||||
DisconnectNamedPipe(pipe);
|
||||
CloseHandle(pipe);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user