mirror of
https://github.com/DNSCrypt/dnscrypt-proxy.git
synced 2025-04-05 14:17:36 +03:00
Explicit initialization
This commit is contained in:
parent
49460f1d6f
commit
3e32d38f29
1 changed files with 1 additions and 0 deletions
|
@ -247,6 +247,7 @@ func (xTransport *XTransport) resolveUsingResolver(proto, host string, resolver
|
||||||
|
|
||||||
// Return a cached entry, or resolve a name and update the cache
|
// Return a cached entry, or resolve a name and update the cache
|
||||||
func (xTransport *XTransport) resolveWithCache(host string) (err error) {
|
func (xTransport *XTransport) resolveWithCache(host string) (err error) {
|
||||||
|
err = nil
|
||||||
if xTransport.proxyDialer != nil || xTransport.httpProxyFunction != nil {
|
if xTransport.proxyDialer != nil || xTransport.httpProxyFunction != nil {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue