Skip to content

Commit

Permalink
Merge pull request #3 from mattn/fix-addr
Browse files Browse the repository at this point in the history
Use addr to specify address
  • Loading branch information
ngaut committed Jul 10, 2014
2 parents bad392e + f28bdba commit 9e4afe1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ func (self *Server) getAllJobs() {
}

func (self *Server) Start(addr string) {
ln, err := net.Listen("tcp", ":4730")
ln, err := net.Listen("tcp", addr)
if err != nil {
log.Fatal(err)
}
Expand Down

0 comments on commit 9e4afe1

Please sign in to comment.