Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

parseInt

  • Loading branch information...
commit 7c457da8a9e3a7f0c9dc947316c8ac1bcc7db22a 1 parent 62554ba
Marvin Killing authored
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) ->
Please sign in to comment.
Something went wrong with that request. Please try again.