Fix a bug introduced in the previous revision.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13538
This commit is contained in:
Florian Krohm 2013-09-10 14:00:45 +00:00
parent 44901807b3
commit bc0d9e14cf

View File

@ -104,7 +104,7 @@ sub get_raw_data {
my %hash = ();
# 1) Locate the section with the info about the environment of this nightly run
for ($i = $i + 1; $i < $n; ++$i) {
for ($i = 0; $i < $n; ++$i) {
last if ($lines[$i] =~ /^valgrind revision:/);
}
die "no info block in message $msgno" if ($i == $n);