From 9c9e7e2724340280d0ca4ff29c067f2d144562c0 Mon Sep 17 00:00:00 2001 From: "Jason A. Donenfeld" Date: Thu, 9 Dec 2021 17:55:50 +0100 Subject: global: apply gofumpt Signed-off-by: Jason A. Donenfeld --- replay/replay.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'replay') diff --git a/replay/replay.go b/replay/replay.go index fac7ab2..f140272 100644 --- a/replay/replay.go +++ b/replay/replay.go @@ -34,7 +34,7 @@ func (f *Filter) Reset() { // ValidateCounter checks if the counter should be accepted. // Overlimit counters (>= limit) are always rejected. -func (f *Filter) ValidateCounter(counter uint64, limit uint64) bool { +func (f *Filter) ValidateCounter(counter, limit uint64) bool { if counter >= limit { return false } -- cgit v1.2.3