From 1de62aea0a77a79a4205950e9d590753cba09019 Mon Sep 17 00:00:00 2001 From: Anjan Nath Date: Mon, 4 Jul 2022 14:53:18 +0530 Subject: Fix error reported by go test This fixes the following error from go test ``` client/client.go:45:8: (*0xacab.org/leap/obfsvpn/client.Client).log call has arguments but no formatting directives ``` --- client/client.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'client/client.go') diff --git a/client/client.go b/client/client.go index 4b10ab2..c203e2b 100644 --- a/client/client.go +++ b/client/client.go @@ -42,7 +42,7 @@ func NewClient(kcp bool, socksAddr, obfs4Cert string) *Client { func (c *Client) Start() (bool, error) { defer func() { - c.log("STOPPED", "", nil) + c.log("STOPPED", "") }() if c.IsStarted() { -- cgit v1.2.3