Browse Source

typo

v0.7.4-release
isaacs 14 years ago
parent
commit
794cb60f9e
  1. 2
      lib/http.js

2
lib/http.js

@ -1442,7 +1442,7 @@ function getAgent(options) {
id = options + ':' + port;
_opts.host = options;
_opts.port = port;
} else if (options && options === 'object') {
} else if (options && typeof options === 'object') {
if (options.port || options.host) {
host = options.host || 'localhost';
port = options.port || 80;

Loading…
Cancel
Save