cmd/jounce: fix non-TLS listener address
git-svn-id: file:///srv/svn/repo/suika/trunk@70 f0ae65fe-ee39-954e-97ec-027ff2717ef4
This commit is contained in:
parent
c52d54edc7
commit
b0ceb14bd4
@ -47,7 +47,7 @@ func main() {
|
|||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
var err error
|
var err error
|
||||||
ln, err = net.Listen("tcp", addr)
|
ln, err = net.Listen("tcp", cfg.Addr)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
log.Fatalf("failed to start listener: %v", err)
|
log.Fatalf("failed to start listener: %v", err)
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user