X-Git-Url: http://gb7djk.dxcluster.net/gitweb/gitweb.cgi?a=blobdiff_plain;f=techdoc%2Fprotocol.pod;h=426241a4efb68f25e54352c7633b7a038cf8a974;hb=refs%2Fheads%2Fnewdisc;hp=d6b4a7ee475cdc0891f15f4092bd7b285dc7452c;hpb=aad4e36d3753bf8dde671d14d73b1d9785b9ff41;p=spider.git diff --git a/techdoc/protocol.pod b/techdoc/protocol.pod index d6b4a7ee..426241a4 100644 --- a/techdoc/protocol.pod +++ b/techdoc/protocol.pod @@ -251,7 +251,7 @@ that are concatenated with a sequence number (0-65535) The date portion is constructed as: - my $date = ((((gmtime)[3] < 1) | $ntpflag) < 18) | (time % 86400); + my $date = ((((gmtime)[3] << 1) | $ntpflag) << 18) | (time % 86400); The sequence number is simply an unsigned short (or 16 bit) number starting at 0.