Commit 9b49edef authored by Audrius Butkevicius's avatar Audrius Butkevicius Committed by Brad Fitzpatrick

net: fix leftover variable names from CL 115175

Change-Id: I5f78fe3286bf4667b6922c57c5701c09bf56e182
Reviewed-on: https://go-review.googlesource.com/115355Reviewed-by: default avatarBrad Fitzpatrick <bradfitz@golang.org>
parent 0b8d9d42
...@@ -317,8 +317,8 @@ func ListenUnix(network string, laddr *UnixAddr) (*UnixListener, error) { ...@@ -317,8 +317,8 @@ func ListenUnix(network string, laddr *UnixAddr) (*UnixListener, error) {
if laddr == nil { if laddr == nil {
return nil, &OpError{Op: "listen", Net: network, Source: nil, Addr: laddr.opAddr(), Err: errMissingAddress} return nil, &OpError{Op: "listen", Net: network, Source: nil, Addr: laddr.opAddr(), Err: errMissingAddress}
} }
sa := &sysListener{network: network, address: laddr.String()} sl := &sysListener{network: network, address: laddr.String()}
ln, err := sa.listenUnix(context.Background(), laddr) ln, err := sl.listenUnix(context.Background(), laddr)
if err != nil { if err != nil {
return nil, &OpError{Op: "listen", Net: network, Source: nil, Addr: laddr.opAddr(), Err: err} return nil, &OpError{Op: "listen", Net: network, Source: nil, Addr: laddr.opAddr(), Err: err}
} }
...@@ -337,8 +337,8 @@ func ListenUnixgram(network string, laddr *UnixAddr) (*UnixConn, error) { ...@@ -337,8 +337,8 @@ func ListenUnixgram(network string, laddr *UnixAddr) (*UnixConn, error) {
if laddr == nil { if laddr == nil {
return nil, &OpError{Op: "listen", Net: network, Source: nil, Addr: nil, Err: errMissingAddress} return nil, &OpError{Op: "listen", Net: network, Source: nil, Addr: nil, Err: errMissingAddress}
} }
sa := &sysListener{network: network, address: laddr.String()} sl := &sysListener{network: network, address: laddr.String()}
c, err := sa.listenUnixgram(context.Background(), laddr) c, err := sl.listenUnixgram(context.Background(), laddr)
if err != nil { if err != nil {
return nil, &OpError{Op: "listen", Net: network, Source: nil, Addr: laddr.opAddr(), Err: err} return nil, &OpError{Op: "listen", Net: network, Source: nil, Addr: laddr.opAddr(), Err: err}
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment