git » gofer » commit 756152f

raw: Don't quote the listening address in logging

author Alberto Bertogli
2020-06-28 15:38:40 UTC
committer Alberto Bertogli
2020-06-28 15:38:40 UTC
parent 70e56b77b3caf1808a34f4c1d1e52387aeee951c

raw: Don't quote the listening address in logging

server/raw.go +1 -1

diff --git a/server/raw.go b/server/raw.go
index b68ad63..aa8b022 100644
--- a/server/raw.go
+++ b/server/raw.go
@@ -38,7 +38,7 @@ func Raw(addr string, conf config.Raw) {
 
 	rlog := reqlog.FromName(conf.ReqLog)
 
-	log.Infof("%q raw proxy starting on %q", addr, lis.Addr())
+	log.Infof("%s raw proxy starting on %q", addr, lis.Addr())
 	for {
 		conn, err := lis.Accept()
 		if err != nil {