Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

net.js: lint

  • Loading branch information
isaacs committed Jul 25, 2012
1 parent 1513848 commit 5809426d758af04bcd55de960081316729279838
Showing with 6 additions and 6 deletions.
  1. +6 −6 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') {

0 comments on commit 5809426

Please sign in to comment.
You can’t perform that action at this time.