From: Ian Jackson Date: Wed, 4 Nov 2009 11:19:17 +0000 (+0000) Subject: Clock skew is only if timestamp is > now X-Git-Tag: 5.6~1^2 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~yarrgweb/git?p=ypp-sc-tools.db-test.git;a=commitdiff_plain;h=c3cd512ee65b5ca56bd4f07e34df193a0beeb5ce;ds=sidebyside Clock skew is only if timestamp is > now --- diff --git a/yarrg/commod-update-receiver b/yarrg/commod-update-receiver index e03a918..0ae5ba8 100755 --- a/yarrg/commod-update-receiver +++ b/yarrg/commod-update-receiver @@ -129,7 +129,7 @@ foreach my $islands (values %$arches) { 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");