diff options
author | isaacs <i@izs.me> | 2013-07-26 14:38:08 -0700 |
---|---|---|
committer | isaacs <i@izs.me> | 2013-08-01 15:08:01 -0700 |
commit | 22c68fdc1dae40f0ed9c71a02f66e5b2c6353691 (patch) | |
tree | b6d14cad6f5a9ba78172f77c5c2ec10b8a6cb89c /lib/_http_agent.js | |
parent | 9a29aa8c552eb2b120c101c1cfd66ba565a17ed5 (diff) | |
download | android-node-v8-22c68fdc1dae40f0ed9c71a02f66e5b2c6353691.tar.gz android-node-v8-22c68fdc1dae40f0ed9c71a02f66e5b2c6353691.tar.bz2 android-node-v8-22c68fdc1dae40f0ed9c71a02f66e5b2c6353691.zip |
src: Replace macros with util functions
Diffstat (limited to 'lib/_http_agent.js')
-rw-r--r-- | lib/_http_agent.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/_http_agent.js b/lib/_http_agent.js index 500ddb057a..cced266988 100644 --- a/lib/_http_agent.js +++ b/lib/_http_agent.js @@ -246,7 +246,7 @@ Agent.prototype.destroy = function() { }; Agent.prototype.request = function(options, cb) { - if (IS_STRING(options)) { + if (util.isString(options)) { options = url.parse(options); } // don't try to do dns lookups of foo.com:8080, just foo.com |