summaryrefslogtreecommitdiff
path: root/proxy
diff options
context:
space:
mode:
authorjwijenbergh <jeroenwijenbergh@protonmail.com>2024-12-19 13:11:01 +0100
committerjwijenbergh <jeroenwijenbergh@protonmail.com>2024-12-19 13:11:01 +0100
commit7d766ee5a8a9824e9bb904149834670281890979 (patch)
tree6aa35a08fece7286b3db4e94c4ae709cb2138a07 /proxy
parent9438a600fdce5a2d00521061d11fb94d3fd7d16b (diff)
Format: Run make fmt
Diffstat (limited to 'proxy')
-rw-r--r--proxy/proxy.go6
1 files changed, 3 insertions, 3 deletions
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)
}
}