Skip to content

Commit

Permalink
trivial change
Browse files Browse the repository at this point in the history
Signed-off-by: grant <[email protected]>
  • Loading branch information
grantseltzer committed Apr 1, 2019
1 parent a9ff324 commit ce26e64
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/net/cgo_darwin_stub.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ func cgoLookupHost(ctx context.Context, name string) (addrs []string, err error,
}

func cgoLookupPort(ctx context.Context, network, service string) (port int, err error, completed bool) {
port, err = goLookupPort(network, service) // just use netgo lookup
port, err = goLookupPort(network, service) // we can just use netgo lookup
return port, err, err == nil
}

Expand Down

0 comments on commit ce26e64

Please sign in to comment.