diff options
Diffstat (limited to 'gopher')
-rw-r--r-- | gopher/serve.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gopher/serve.go b/gopher/serve.go index d78150c..67c889a 100644 --- a/gopher/serve.go +++ b/gopher/serve.go @@ -26,7 +26,7 @@ func NewServer( network string, address string, handler types.Handler, - errLog logging.Logger, + baseLog logging.Logger, ) (types.Server, error) { gs := &gopherServer{handler: handler} @@ -34,7 +34,7 @@ func NewServer( address = internal.JoinDefaultPort(address, "70") var err error - gs.Server, err = internal.NewServer(ctx, hostname, network, address, errLog, gs.handleConn) + gs.Server, err = internal.NewServer(ctx, hostname, network, address, baseLog, gs.handleConn) if err != nil { return nil, err } |