Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
net: name anonymous functions in net module
changing the name proposed to the anonymous function
as stated on #9357 (comment)
  • Loading branch information
pvsousalima committed Nov 1, 2016
commit 6ce4862ca1cb500abd6b2ec54ae8f5e1344cad61
2 changes: 1 addition & 1 deletion lib/net.js
Original file line number Diff line number Diff line change
Expand Up @@ -1389,7 +1389,7 @@ Server.prototype.listen = function() {
};

function lookupAndListen(self, port, address, backlog, exclusive) {
require('dns').lookup(address, function emitLookup(err, ip, addressType) {
require('dns').lookup(address, function doListening(err, ip, addressType) {
if (err) {
self.emit('error', err);
} else {
Expand Down