Commit 08ca4014 authored by Dmitry Vyukov's avatar Dmitry Vyukov

expvar: fix build

Change-Id: I6ee7aa76673e51576b5a84c512b22a0f8af5b02f
Reviewed-on: https://go-review.googlesource.com/3966Reviewed-by: 's avatarDmitry Vyukov <dvyukov@google.com>
parent fc22fb8f
......@@ -271,7 +271,7 @@ func BenchmarkRealworldExpvarUsage(b *testing.B) {
// Setup P client/server connections.
clients := make([]net.Conn, P)
servers := make([]net.Conn, P)
ln, err := net.Listen("tcp", laddr)
ln, err := net.Listen("tcp", "127.0.0.1:0")
if err != nil {
b.Fatalf("Listen failed: %v", 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