Skip to content

Commit

Permalink
minor change
Browse files Browse the repository at this point in the history
  • Loading branch information
LuitelSamikshya committed May 13, 2022
1 parent 5f93024 commit 4b62dc2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fastdialer/dialer.go
Expand Up @@ -350,7 +350,7 @@ func (d *Dialer) GetDNSData(hostname string) (*retryabledns.DNSData, error) {
)
data, err = d.GetDNSDataFromCache(hostname)
if err != nil {
hostnameAscii, err := idna.New().ToASCII(hostname)
hostnameAscii, err := idna.ToASCII(hostname)
if err != nil {
return nil, AsciiConversionError
}
Expand Down

0 comments on commit 4b62dc2

Please sign in to comment.