From 7d766ee5a8a9824e9bb904149834670281890979 Mon Sep 17 00:00:00 2001 From: jwijenbergh Date: Thu, 19 Dec 2024 13:11:01 +0100 Subject: Format: Run make fmt --- proxy/proxy.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'proxy') diff --git a/proxy/proxy.go b/proxy/proxy.go index e0dba4f..34c281f 100644 --- a/proxy/proxy.go +++ b/proxy/proxy.go @@ -66,12 +66,12 @@ func (p *Proxy) Tunnel(ctx context.Context, wglisten int) error { }() select { - case err := <- errChan: + case err := <-errChan: cancel() return err - case <- p.resChan: + case <-p.resChan: cancel() - <- errChan + <-errChan return p.Tunnel(ctx, wglisten) } } -- cgit v1.2.3