Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorBen Noordhuis <info@bnoordhuis.nl>2012-01-21 17:31:20 +0400
committerBen Noordhuis <info@bnoordhuis.nl>2012-01-21 17:34:33 +0400
commit56e34c2f814905a8fc3329485c64a70d59d8eeba (patch)
tree6672f05609bc1afeaf7becd1bd2e541907448358 /lib
parentde78922b12c06b80489ec8eb05f0e3d4cd3fe8fa (diff)
http: fix deprecation warning module ID
Mea culpa, I told @mmalecki wrong
Diffstat (limited to 'lib')
-rw-r--r--lib/http.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/http.js b/lib/http.js
index 232fc8a08f7..14e41ba24c9 100644
--- a/lib/http.js
+++ b/lib/http.js
@@ -1590,7 +1590,7 @@ exports._connectionListener = connectionListener;
function Client(port, host) {
// TODO http.Client can be removed in v0.9. Until then leave this message.
- util._deprecationWarning('http.Client', 'http.Client is a legacy interface' +
+ util._deprecationWarning('http', 'http.Client is a legacy interface' +
' and will be removed in the near future. Do not use it.');
host = host || 'localhost';
port = port || 80;