Permalink
Browse files

two minor comment fixes

  • Loading branch information...
1 parent eb155ea commit f2c72dcd08de94e0cf58ad36886113540791afb0 @thejh committed Feb 11, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/net.js
View
@@ -913,7 +913,7 @@ function Server(/* [ options, ] listener */) {
DTRACE_NET_SERVER_CONNECTION(s);
self.emit('connection', s);
- // The 'connect' event probably should be removed for server-side
+ // The 'connect' event probably should be removed for server-side
// sockets. It's redundant.
try {
s.emit('connect');
@@ -933,7 +933,7 @@ exports.createServer = function() {
};
-// Just stop trying to accepting connections for a while.
+// Just stop trying to accept connections for a while.
// Useful for throttling against DoS attacks.
Server.prototype.pause = function(msecs) {
// We're already paused.

0 comments on commit f2c72dc

Please sign in to comment.