Skip to content

Commit

Permalink
bug(vinxictl): fix ListenAndServe method call
Browse files Browse the repository at this point in the history
  • Loading branch information
Yohan Robert committed Jun 2, 2016
1 parent bbc5f45 commit dd9e726
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vinxictl/cli.go
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ func main() {

// Start HTTP server
fmt.Printf("Server listening on port %d\n", port)
v.ServeAndListen(opts)
v.ListenAndServe(opts)
}

func getPort(port int) int {
Expand Down

0 comments on commit dd9e726

Please sign in to comment.