normalised line endings.

This commit is contained in:
Nick Bolton 2012-06-28 04:40:23 +00:00
parent 488241850c
commit 0c42964f3a
1 changed files with 9 additions and 9 deletions

View File

@ -359,10 +359,10 @@ CApp::pipeThread(void*)
sa.lpSecurityDescriptor = &sd; sa.lpSecurityDescriptor = &sd;
HANDLE pipe = CreateNamedPipe( HANDLE pipe = CreateNamedPipe(
_T("\\\\.\\pipe\\SynergyNode"), _T("\\\\.\\pipe\\SynergyNode"),
PIPE_ACCESS_DUPLEX, PIPE_ACCESS_DUPLEX,
PIPE_TYPE_MESSAGE | PIPE_READMODE_MESSAGE | PIPE_WAIT, PIPE_TYPE_MESSAGE | PIPE_READMODE_MESSAGE | PIPE_WAIT,
PIPE_UNLIMITED_INSTANCES, PIPE_UNLIMITED_INSTANCES,
1024, 1024, 0, &sa); 1024, 1024, 0, &sa);
if (pipe == INVALID_HANDLE_VALUE) if (pipe == INVALID_HANDLE_VALUE)
@ -380,12 +380,12 @@ CApp::pipeThread(void*)
} }
buffer[bytesRead] = '\0'; buffer[bytesRead] = '\0';
LOG((CLOG_DEBUG "ipc node server read: %s", buffer)); LOG((CLOG_DEBUG "ipc node server read: %s", buffer));
handlePipeMessage(buffer); handlePipeMessage(buffer);
} }
DisconnectNamedPipe(pipe); DisconnectNamedPipe(pipe);
CloseHandle(pipe); CloseHandle(pipe);
} }
} }