my %o;
if (param('get_source')) {
- header('application/octet-stream');
+ # There's another copy of this in dictionary-update-receiver. Sorry.
+ print header('application/octet-stream') or die $!;
source_tarball('..', sub { print $_[0] or die $!; });
exit 0;
}
fail("unknown island") unless $island_found;
$o{'timestamp'}= must_param('timestamp', "^([1-9]\\d{1,20})\$");
-fail("clock skew") if $o{'timestamp'} >= $now;
+fail("clock skew") if $o{'timestamp'} > $now;
my $indatafh= upload('data');
defined $indatafh or fail("data is not a file");