Fix crash in 'icinga2 console'

fixes #8516
This commit is contained in:
Gunnar Beutner 2015-02-24 12:52:10 +01:00
parent 12820d2225
commit 9cd681148d
1 changed files with 1 additions and 1 deletions

View File

@ -196,7 +196,7 @@ incomplete:
char buf[1024];
while (!ns->IsEof()) {
size_t rc = ns->Read(buf, sizeof(buf));
size_t rc = ns->Read(buf, sizeof(buf), true);
result += String(buf, buf + rc);
}