diff options
Diffstat (limited to 'libgo/go/http/httptest/server.go')
-rw-r--r-- | libgo/go/http/httptest/server.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libgo/go/http/httptest/server.go b/libgo/go/http/httptest/server.go index 43a48ebbd1c..ea719cfbd56 100644 --- a/libgo/go/http/httptest/server.go +++ b/libgo/go/http/httptest/server.go @@ -36,7 +36,7 @@ type historyListener struct { history []net.Conn } -func (hs *historyListener) Accept() (c net.Conn, err os.Error) { +func (hs *historyListener) Accept() (c net.Conn, err error) { c, err = hs.Listener.Accept() if err == nil { hs.history = append(hs.history, c) |