From 353da304e3ed92a235b35296eecd0c3e46076246 Mon Sep 17 00:00:00 2001 From: WendelHime <6754291+WendelHime@users.noreply.github.com> Date: Fri, 25 Oct 2024 17:34:49 -0300 Subject: [PATCH] fix: replace unused var --- http_proxy.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/http_proxy.go b/http_proxy.go index 3c757677..474e0e70 100644 --- a/http_proxy.go +++ b/http_proxy.go @@ -1036,7 +1036,7 @@ func (p *Proxy) listenWATER(addr string) (net.Listener, error) { return utls.Listen("tcp", addr, &utls.Config{Certificates: []utls.Certificate{cert}}) default: - return nil, log.Errorf("unsupported mismatch protocol provided: %d", mismatchProtocol) + return nil, log.Errorf("unsupported mismatch protocol provided: %s", p.WaterMismatchProtocol) } }