Make changes based on review comments

This commit is contained in:
Neil Alexander 2019-03-08 10:26:46 +00:00
parent 57eb6eaeb0
commit 917ca6c1c5
No known key found for this signature in database
GPG key ID: A02A2019A2BB0944
5 changed files with 30 additions and 17 deletions

View file

@ -105,7 +105,7 @@ func (l *link) call(uri string, sintf string) error {
case "tcp":
l.tcp.call(u.Host, nil, sintf)
case "socks":
l.tcp.call(pathtokens[0], &u.Host, sintf)
l.tcp.call(pathtokens[0], u.Host, sintf)
default:
return errors.New("unknown call scheme: " + u.Scheme)
}