Skip to content

Commit

Permalink
Fix a code issue
Browse files Browse the repository at this point in the history
  • Loading branch information
panjf2000 committed Jul 23, 2021
1 parent 6a5fd9b commit 2d6cd1e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions netpoll-echo-server/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ import (
func main() {
var port int
flag.IntVar(&port, "port", 8080, "server port")
flag.Parse()

network, address := "tcp", fmt.Sprintf("127.0.0.1:%d", port)

Expand Down

0 comments on commit 2d6cd1e

Please sign in to comment.