net.js: lint

This commit is contained in:
isaacs 2012-07-24 17:05:22 -07:00
parent 1513848f88
commit 5809426d75

View File

@ -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') {