Permalink
Browse files

http: fix deprecation warning module ID

Mea culpa, I told @mmalecki wrong
  • Loading branch information...
1 parent de78922 commit 56e34c2f814905a8fc3329485c64a70d59d8eeba @bnoordhuis bnoordhuis committed Jan 21, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/http.js
View
@@ -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;

0 comments on commit 56e34c2

Please sign in to comment.