aboutsummaryrefslogtreecommitdiffstats
path: root/imap.go
diff options
context:
space:
mode:
Diffstat (limited to 'imap.go')
-rw-r--r--imap.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/imap.go b/imap.go
index 8688604..14d59c8 100644
--- a/imap.go
+++ b/imap.go
@@ -19,7 +19,7 @@ func (s *Server) connectIMAP() (*imapclient.Client, error) {
if s.imap.tls {
c, err = imapclient.DialTLS(s.imap.host, nil)
if err != nil {
- return nil, fmt.Errorf("failed to connect to IMAPS server: ^v", err)
+ return nil, fmt.Errorf("failed to connect to IMAPS server: %v", err)
}
} else {
c, err = imapclient.Dial(s.imap.host)