Merge remote-tracking branch 'upstream/master' into rrd-create-remote

This commit is contained in:
Tony Murray
2016-08-08 20:23:15 -05:00
23 changed files with 193 additions and 93 deletions

View File

@@ -55,7 +55,8 @@ if ($agent_data['app'][$name]) {
while ($max == -1 || $count < $max) {
$data .= fgets($sock, 128);
if ($max == -1) {
$max = explode(' ', $data)[0] + 1;
$tmp_max = explode(' ', $data);
$max = $tmp_max[0]+1;
}
$count++;
}