From 2236a0ade2e25dda8e49997c711edd6ef2fbf287 Mon Sep 17 00:00:00 2001 From: QwertygidQ Date: Wed, 27 Nov 2019 14:47:48 +0300 Subject: [PATCH] Added another end period --- internal/matchers/archive.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/matchers/archive.go b/internal/matchers/archive.go index 6eea67cc..8e6820ee 100644 --- a/internal/matchers/archive.go +++ b/internal/matchers/archive.go @@ -88,6 +88,6 @@ func Warc(in []byte) bool { // Zstd matches a Zstandard archive file. func Zstd(in []byte) bool { return len(in) >= 4 && - (0x22 <= in[0] && in[0] <= 0x28 || in[0] == 0x1E) && // Different Zstandard versions + (0x22 <= in[0] && in[0] <= 0x28 || in[0] == 0x1E) && // Different Zstandard versions. bytes.HasPrefix(in[1:], []byte{0xB5, 0x2F, 0xFD}) }