summaryrefslogtreecommitdiff
path: root/gemini/serve.go
diff options
context:
space:
mode:
Diffstat (limited to 'gemini/serve.go')
-rw-r--r--gemini/serve.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/gemini/serve.go b/gemini/serve.go
index 5c6c979..0303c13 100644
--- a/gemini/serve.go
+++ b/gemini/serve.go
@@ -31,7 +31,7 @@ func NewServer(
network string,
address string,
handler types.Handler,
- errorLog logging.Logger,
+ baseLog logging.Logger,
tlsConfig *tls.Config,
) (types.Server, error) {
s := &server{handler: handler}
@@ -39,7 +39,7 @@ func NewServer(
hostname = internal.JoinDefaultPort(hostname, "1965")
address = internal.JoinDefaultPort(address, "1965")
- internalServer, err := internal.NewServer(ctx, hostname, network, address, errorLog, s.handleConn)
+ internalServer, err := internal.NewServer(ctx, hostname, network, address, baseLog, s.handleConn)
if err != nil {
return nil, err
}