forked from lix-project/hydra
BuildDiff: actual list reference to $builds2
This commit is contained in:
parent
458214381d
commit
ceb81e7d78
|
@ -41,7 +41,7 @@ sub buildDiff {
|
||||||
my $aborted = $build->finished != 0 && ($build->buildstatus == 3 || $build->buildstatus == 4);
|
my $aborted = $build->finished != 0 && ($build->buildstatus == 3 || $build->buildstatus == 4);
|
||||||
my $d;
|
my $d;
|
||||||
my $found = 0;
|
my $found = 0;
|
||||||
while ($n < scalar($builds2)) {
|
while ($n < scalar(@{$builds2})) {
|
||||||
my $build2 = @{$builds2}[$n];
|
my $build2 = @{$builds2}[$n];
|
||||||
my $d = cmpBuilds($build, $build2);
|
my $d = cmpBuilds($build, $build2);
|
||||||
last if $d == -1;
|
last if $d == -1;
|
||||||
|
|
Loading…
Reference in a new issue