[FFmpeg-cvslog] [ffmpeg-fateserver] branch master updated. d9167db Fix summary version check
gitolite
ffmpeg-cvslog at ffmpeg.org
Mon Apr 13 00:43:13 CEST 2015
The branch, master has been updated
via d9167db42bd2cb3eb95ce071b9ae4fc18f709821 (commit)
from 217e2f191de232a5059afa39cd48278d9ecf704c (commit)
- Log -----------------------------------------------------------------
commit d9167db42bd2cb3eb95ce071b9ae4fc18f709821
Author: Timothy Gu <timothygu99 at gmail.com>
AuthorDate: Sun Apr 12 23:27:52 2015 +0200
Commit: Timothy Gu <timothygu99 at 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
--
More information about the ffmpeg-cvslog
mailing list