Skip to content

Commit 6ce4862

Browse files
committed
net: name anonymous functions in net module
changing the name proposed to the anonymous function as stated on #9357 (comment)
1 parent 2321c4c commit 6ce4862

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/net.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1389,7 +1389,7 @@ Server.prototype.listen = function() {
13891389
};
13901390

13911391
function lookupAndListen(self, port, address, backlog, exclusive) {
1392-
require('dns').lookup(address, function emitLookup(err, ip, addressType) {
1392+
require('dns').lookup(address, function doListening(err, ip, addressType) {
13931393
if (err) {
13941394
self.emit('error', err);
13951395
} else {

0 commit comments

Comments
 (0)