Skip to content

Commit

Permalink
tweak variable name again
Browse files Browse the repository at this point in the history
  • Loading branch information
marcelocantos committed Sep 15, 2022
1 parent 4ce9e16 commit 9e77252
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -81,12 +81,12 @@ func main() {

s := createServer(*host, *port, *pacurl, a)
log.Fatal(gogroup(networks(*host), func(network string) error {
listen, err := net.Listen(network, s.Addr)
listener, err := net.Listen(network, s.Addr)
if err != nil {
return err
}
log.Printf("Listening on %s %s", network, s.Addr)
return s.Serve(listen)
return s.Serve(listener)
}))
}

Expand Down

0 comments on commit 9e77252

Please sign in to comment.