Browse Source

net: fix throw error

Thanks Tobi
v0.7.4-release
Ryan Dahl 14 years ago
parent
commit
827b9c5f1f
  1. 2
      lib/net.js

2
lib/net.js

@ -1053,7 +1053,7 @@ Server.prototype.listen = function() {
if (err.errno == ENOENT) { if (err.errno == ENOENT) {
self._doListen(path); self._doListen(path);
} else { } else {
throw r; throw err;
} }
} else { } else {
if (!r.isSocket()) { if (!r.isSocket()) {

Loading…
Cancel
Save