From feff527c00e56b2da3584360f81495e003034f1f Mon Sep 17 00:00:00 2001 From: cyBerta Date: Sun, 26 Jun 2022 16:39:47 +0200 Subject: fix anonymous function call --- client/client.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/client.go b/client/client.go index d9cb12b..4b10ab2 100644 --- a/client/client.go +++ b/client/client.go @@ -43,7 +43,7 @@ func NewClient(kcp bool, socksAddr, obfs4Cert string) *Client { func (c *Client) Start() (bool, error) { defer func() { c.log("STOPPED", "", nil) - } + }() if c.IsStarted() { c.error("Cannot start proxy server, already running") -- cgit v1.2.3