summaryrefslogtreecommitdiff
path: root/client
diff options
context:
space:
mode:
authorcyBerta <cyberta@riseup.net>2022-06-26 16:39:47 +0200
committercyBerta <cyberta@riseup.net>2022-06-26 16:39:47 +0200
commitfeff527c00e56b2da3584360f81495e003034f1f (patch)
tree6f0f21461640e313a458dc853d8e07abec4f544b /client
parent295f071ce87dacd59f1b57fc90ea9803aadaa9cf (diff)
fix anonymous function call
Diffstat (limited to 'client')
-rw-r--r--client/client.go2
1 files changed, 1 insertions, 1 deletions
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")