Browse Source

net.js: lint

v0.8.7-release
isaacs 13 years ago
parent
commit
5809426d75
  1. 12
      lib/net.js

12
lib/net.js

@ -132,12 +132,12 @@ function Socket(options) {
Stream.call(this);
switch (typeof options) {
case 'number':
options = { fd: options }; // Legacy interface.
break;
case 'undefined':
options = {};
break;
case 'number':
options = { fd: options }; // Legacy interface.
break;
case 'undefined':
options = {};
break;
}
if (typeof options.fd === 'undefined') {

Loading…
Cancel
Save