baalexander/node-portscanner — pull request #13 by skilesare (2014-02-04 16:08:40+00:00)
Title: Update portscanner.js

Added Flipped the order of the check...sometime we don't care about an error if the status matches. In the case of looking for an port not in use we actually want the timeout to trip.