From 3308891c9db7aa453eacb21225319a16e747e1d2 Mon Sep 17 00:00:00 2001 From: Olivier Duperray Date: Sun, 11 Dec 2011 09:11:57 -0800 Subject: [PATCH] net/http: fix trivial example server R=golang-dev, r, r CC=golang-dev https://golang.org/cl/5479061 --- src/pkg/net/http/server.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pkg/net/http/server.go b/src/pkg/net/http/server.go index 6df00ddaea..a0614eb564 100644 --- a/src/pkg/net/http/server.go +++ b/src/pkg/net/http/server.go @@ -1027,7 +1027,7 @@ func (srv *Server) Serve(l net.Listener) error { // http.HandleFunc("/hello", HelloServer) // err := http.ListenAndServe(":12345", nil) // if err != nil { -// log.Fatal("ListenAndServe: ", err.String()) +// log.Fatal("ListenAndServe: ", err.Error()) // } // } func ListenAndServe(addr string, handler Handler) error {