mirror of https://github.com/Icinga/icinga2.git
parent
12820d2225
commit
9cd681148d
|
@ -196,7 +196,7 @@ incomplete:
|
||||||
char buf[1024];
|
char buf[1024];
|
||||||
|
|
||||||
while (!ns->IsEof()) {
|
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);
|
result += String(buf, buf + rc);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue