Skip to content
This repository has been archived by the owner on Apr 22, 2023. It is now read-only.

Commit

Permalink
Fix #3448 Use listen callback in test-regress-GH-1697
Browse files Browse the repository at this point in the history
  • Loading branch information
isaacs committed Jun 16, 2012
1 parent 8a068ce commit e74a733
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions test/simple/test-regress-GH-1697.js
Expand Up @@ -36,9 +36,11 @@ if (process.argv[2] === 'server') {
server.close();
});
});
server.listen(1234, '127.0.0.1');

console.log('Server running.');
server.listen(1234, '127.0.0.1', function() {
console.log('Server running.');
});

} else {
// Client

Expand Down

0 comments on commit e74a733

Please sign in to comment.