Browse Source

http: fix deprecation warning module ID

Mea culpa, I told @mmalecki wrong
v0.7.4-release
Ben Noordhuis 13 years ago
parent
commit
56e34c2f81
  1. 2
      lib/http.js

2
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;

Loading…
Cancel
Save