Skip to content
This repository has been archived by the owner on Apr 22, 2023. It is now read-only.

Commit

Permalink
http: fix deprecation warning module ID
Browse files Browse the repository at this point in the history
Mea culpa, I told @mmalecki wrong
  • Loading branch information
bnoordhuis committed Jan 21, 2012
1 parent de78922 commit 56e34c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/http.js
Expand Up @@ -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;
Expand Down

0 comments on commit 56e34c2

Please sign in to comment.