normalised line endings.
This commit is contained in:
parent
488241850c
commit
0c42964f3a
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue