Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix bug where the dialer can be null #14

Merged
merged 1 commit into from
Jan 24, 2024

Conversation

water-a
Copy link
Contributor

@water-a water-a commented Jan 24, 2024

This PR fixes the bug where the dialer can be null if the tls connection fails for whatever reason and the verbose flag is set to true.

Saw this while testing my Go code.

github.com/BrianLeishman/go-imap.New({0xc0009f4500, 0x1a}, {0xc0009f4520, 0xa}, {0xc000a66450, 0xe}, 0x3e1)
        C:/Users/Anik/go/pkg/mod/github.com/!brian!leishman/go-imap@v0.1.3/main.go:218 +0x3aa

@BrianLeishman
Copy link
Owner

Looks good, thank you!

@BrianLeishman BrianLeishman merged commit 3c046c6 into BrianLeishman:master Jan 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants