From 0c42964f3aed929fd02541a380a6290a01311fe7 Mon Sep 17 00:00:00 2001 From: Nick Bolton Date: Thu, 28 Jun 2012 04:40:23 +0000 Subject: [PATCH] normalised line endings. --- src/lib/synergy/CApp.cpp | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/src/lib/synergy/CApp.cpp b/src/lib/synergy/CApp.cpp index f7f26b62..b36d4a6a 100644 --- a/src/lib/synergy/CApp.cpp +++ b/src/lib/synergy/CApp.cpp @@ -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); } }