The branch, master has been updated via d9167db42bd2cb3eb95ce071b9ae4fc18f709821 (commit) from 217e2f191de232a5059afa39cd48278d9ecf704c (commit)
- Log ----------------------------------------------------------------- commit d9167db42bd2cb3eb95ce071b9ae4fc18f709821 Author: Timothy Gu <timothyg...@gmail.com> AuthorDate: Sun Apr 12 23:27:52 2015 +0200 Commit: Timothy Gu <timothyg...@gmail.com> CommitDate: Sun Apr 12 15:42:50 2015 -0700 Fix summary version check Also fold it into split_header. diff --git a/FATE.pm b/FATE.pm index 30c220b..86ffe07 100644 --- a/FATE.pm +++ b/FATE.pm @@ -59,6 +59,8 @@ sub split_header { if ($hdr[1] eq '1') { $parsed->{'comment'} = $hdr[8]; $parsed->{'branch'} = $hdr[7]; + } elsif ($hdr[1] ne '0') { + return undef; } return $parsed; } diff --git a/report.cgi b/report.cgi index 92e9fba..9ae42fd 100755 --- a/report.cgi +++ b/report.cgi @@ -34,7 +34,6 @@ open R, '-|', "unxz -c $report" or fail 'Requsted report not found'; my $hdr = split_header scalar <R> or fail 'Invalid report'; my $conf = split_config scalar <R> or fail 'Invalid report'; -$$hdr{version} eq '0' or fail 'Bad report version'; my %pass; my %fail; ----------------------------------------------------------------------- Summary of changes: FATE.pm | 2 ++ report.cgi | 1 - 2 files changed, 2 insertions(+), 1 deletions(-) hooks/post-receive -- _______________________________________________ ffmpeg-cvslog mailing list ffmpeg-cvslog@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog