diff --git a/main.go b/main.go index 68186c4..5c11a1d 100644 --- a/main.go +++ b/main.go @@ -80,13 +80,12 @@ func main() { log.Fatal(err) } defer w.Close() - l, err := net.Listen("tcp", *host+":"+strconv.Itoa(*port)) if err != nil { log.Panicln(err) } log.Println("Listening to connections at '"+*host+"' on port", strconv.Itoa(*port)) - log.Println("(If you want to run this on a different address or port, the command line flags --host and --port are available to you.)") + log.Println("(If you want to run this on a different address or port, the command line flags -host and -port are available to you.)") defer l.Close() for {