Browse files

parseInt

  • Loading branch information...
1 parent 62554ba commit 7c457da8a9e3a7f0c9dc947316c8ac1bcc7db22a Marvin Killing committed Jun 10, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 server.coffee
View
2 server.coffee
@@ -26,7 +26,7 @@ server: http.createServer (req, res) ->
sys.puts "404: " + filepath
send404 res
-server.listen process.argv[2] or 80
+server.listen parseInt(process.argv[2] or "80", 10)
all_clients: []
find_partner: (client) ->

0 comments on commit 7c457da

Please sign in to comment.