We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fb4422f commit 90f04edCopy full SHA for 90f04ed
imapclient/client.go
@@ -113,7 +113,7 @@ func (options *Options) unilateralDataHandler() *UnilateralDataHandler {
113
}
114
115
func (options *Options) tlsConfig() *tls.Config {
116
- if options != nil && options.TLSConfig != nil {
+ if options.TLSConfig != nil {
117
return options.TLSConfig.Clone()
118
} else {
119
return new(tls.Config)
0 commit comments