Module: check_mk
Branch: master
Commit: 1c0b02d8c67df77809288733af1a340eb41b0f49
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=1c0b02d8c67df7…
Author: Sven Panne <sp(a)mathias-kettner.de>
Date: Tue Dec 13 17:39:58 2016 +0100
Fetched livestatus from downstream.
Change-Id: I9d601035b1ae93a6447f9bf0275e99f03be71f32
---
livestatus/src/OutputBuffer.cc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/livestatus/src/OutputBuffer.cc b/livestatus/src/OutputBuffer.cc
index e3b5b26..f4d7b34 100644
--- a/livestatus/src/OutputBuffer.cc
+++ b/livestatus/src/OutputBuffer.cc
@@ -110,7 +110,7 @@ void OutputBuffer::flush(int fd, int *termination_flag) {
ostringstream os;
os << setw(3) << setfill('0') <<
static_cast<unsigned>(_response_code)
- << " " << setw(11) << setfill(' ')
<< s;
+ << " " << setw(11) << setfill(' ')
<< s << "\n";
string header = os.str();
writeData(fd, termination_flag, header.c_str(), header.size());
writeData(fd, termination_flag, buffer, s);