Skip to content

Commit

Permalink
doh: m fix import
Browse files Browse the repository at this point in the history
  • Loading branch information
ignoramous committed Nov 5, 2024
1 parent 11e9359 commit 05e80e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion intra/doh/doh.go
Original file line number Diff line number Diff line change
Expand Up @@ -499,7 +499,7 @@ func (t *transport) prepare(pid string) (c3, c *http.Client, px ipn.Proxy, err e
px, err = t.proxies.ProxyFor(pid)
}
if err != nil || px == nil {
return c3, c, nil, core.OneError(err, dnsx.ErrNoProxyProvider)
return c3, c, nil, core.OneErr(err, dnsx.ErrNoProxyProvider)
}
c3, c = t.httpClientFor(px) // c3 may be nil

Expand Down

0 comments on commit 05e80e6

Please sign in to comment.