Skip to content

Commit

Permalink
DRY
Browse files Browse the repository at this point in the history
  • Loading branch information
myleshorton committed May 15, 2015
1 parent e6fe644 commit e3a0243
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/github.com/getlantern/fronted/dialer.go
Expand Up @@ -205,11 +205,7 @@ func (d *dialer) DirectHttpClient() *http.Client {
return &http.Client{
Transport: &http.Transport{
Dial: func(network, addr string) (net.Conn, error) {
var masquerade *Masquerade
if d.masquerades != nil {
masquerade = d.masquerades.nextVerified()
}
return d.dialServerWith(masquerade)
return d.dialServer()
},
},
}
Expand Down

0 comments on commit e3a0243

Please sign in to comment.