Fixed truncated plugin output.

This commit is contained in:
Gunnar Beutner 2012-07-07 18:19:16 +02:00
parent 67789d99ce
commit 8eac0a91c2
1 changed files with 1 additions and 1 deletions

View File

@ -167,7 +167,7 @@ void NagiosCheckTask::ProcessCheckOutput(const string& output)
text.append("\n");
if (delim != string::npos) {
text.append(line, 0, delim - 1);
text.append(line, 0, delim);
if (!perfdata.empty())
perfdata.append(" ");