Fix format string
This commit is contained in:
parent
96646c8324
commit
2d3cce64da
1 changed files with 1 additions and 1 deletions
2
imap.go
2
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)
|
||||
|
|
Loading…
Reference in a new issue