summaryrefslogtreecommitdiffstats
path: root/Source/cmServer.cxx
diff options
context:
space:
mode:
authorJustin Berger <j.david.berger@gmail.com>2017-07-20 02:23:34 (GMT)
committerBrad King <brad.king@kitware.com>2017-08-31 19:35:04 (GMT)
commit7ef28843618519c222806a0df82ed8f87ad2ca0c (patch)
tree723cabf43743d04b7ed34edac2cef223eaba2ac0 /Source/cmServer.cxx
parentdc7a18d82eb0013a2afbdea9ba5fec131fc3179f (diff)
downloadCMake-7ef28843618519c222806a0df82ed8f87ad2ca0c.zip
CMake-7ef28843618519c222806a0df82ed8f87ad2ca0c.tar.gz
CMake-7ef28843618519c222806a0df82ed8f87ad2ca0c.tar.bz2
server: Moved buffer formatting into bufferstrategy
Diffstat (limited to 'Source/cmServer.cxx')
-rw-r--r--Source/cmServer.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/Source/cmServer.cxx b/Source/cmServer.cxx
index 14e1fd1..6a63797 100644
--- a/Source/cmServer.cxx
+++ b/Source/cmServer.cxx
@@ -282,8 +282,7 @@ void cmServer::WriteJsonObject(cmConnection* connection,
}
}
- connection->WriteData(std::string("\n") + kSTART_MAGIC + std::string("\n") +
- result + kEND_MAGIC + std::string("\n"));
+ connection->WriteData(result);
}
cmServerProtocol* cmServer::FindMatchingProtocol(