diff options
| author | Ian Lance Taylor <iant@golang.org> | 2008-09-25 17:36:37 -0700 |
|---|---|---|
| committer | Ian Lance Taylor <iant@golang.org> | 2008-09-25 17:36:37 -0700 |
| commit | f023b7a997d2deeda907a70d5f74232d239b4a11 (patch) | |
| tree | 19dfb1491f11b328c214c32641c4475f05eaac5f /src/lib/net | |
| parent | 3548350d3ee691475ab6572065e510d61754b2da (diff) | |
| download | go-f023b7a997d2deeda907a70d5f74232d239b4a11.tar.xz | |
Change the name of the result variable so that it does not
hide the package "ip".
R=rsc
DELTA=1 (0 added, 0 deleted, 1 changed)
OCL=15914
CL=15914
Diffstat (limited to 'src/lib/net')
| -rw-r--r-- | src/lib/net/net.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/net/net.go b/src/lib/net/net.go index 6e8f302c2e..55fc98a8d0 100644 --- a/src/lib/net/net.go +++ b/src/lib/net/net.go @@ -81,7 +81,7 @@ func dtoi(s string) (n int, ok bool) { // Convert "host:port" into IP address and port. // For now, host and port must be numeric literals. // Eventually, we'll have name resolution. -func HostPortToIP(net string, hostport string) (ip *[]byte, iport int, err *os.Error) { +func HostPortToIP(net string, hostport string) (ipaddr *[]byte, iport int, err *os.Error) { var host, port string; host, port, err = SplitHostPort(hostport); if err != nil { |
