Typo in http_server_lag.js script

Thanks, @mscdex
This commit is contained in:
isaacs 2012-03-06 19:31:16 -08:00
parent fb53986a80
commit 150053b3fa
1 changed files with 1 additions and 1 deletions

View File

@ -4,7 +4,7 @@ var defaultLag = parseInt(process.argv[2], 10) || 100;
http.createServer(function(req, res) {
res.writeHead(200, { 'content-type': 'text/plain',
'content-lengt': '2' });
'content-length': '2' });
var lag = parseInt(req.url.split("/").pop(), 10) || defaultLag;
setTimeout(function() {