diff options
Diffstat (limited to '')
-rw-r--r-- | internal/imap/imap.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/imap/imap.go b/internal/imap/imap.go index f8c8632..63684a8 100644 --- a/internal/imap/imap.go +++ b/internal/imap/imap.go @@ -30,13 +30,13 @@ func newImapClient(url *URL, forceTls bool) (*imapClient.Client, error) { return c, nil } -func (client *Client) connect(url *URL, forceTls bool) (*connection, error) { +func (cl *Client) connect(url *URL, forceTls bool) (*connection, error) { c, err := newImapClient(url, forceTls) if err != nil { return nil, err } - conn := client.createConnection(c) + conn := cl.createConnection(c) if !forceTls { if err = conn.startTls(); err != nil { |