Actually load keys in loadkeys and find keys in findkeys

This commit is contained in:
idk 2018-12-25 04:42:55 -05:00
parent 574bb777d0
commit 4e7ff65b1e
No known key found for this signature in database
GPG key ID: D75C03B39B5E14E1
2 changed files with 5 additions and 2 deletions

View file

@ -40,7 +40,7 @@ func SetPort(v string) func(*Manager) error {
}
//SetSocksHost sets the host of the client's SAM bridge
func SetHost(s string) func(*Manager) error {
func SetSocksHost(s string) func(*Manager) error {
return func(c *Manager) error {
c.host = s
return nil
@ -48,7 +48,7 @@ func SetHost(s string) func(*Manager) error {
}
//SetSocksPort sets the port of the client's SAM bridge
func SetPort(v string) func(*Manager) error {
func SetSocksPort(v string) func(*Manager) error {
return func(c *Manager) error {
port, err := strconv.Atoi(v)
if err != nil {