Browse Source

Fix documentation errors for DNS

v0.7.4-release
James Herdman 15 years ago
committed by Ryan Dahl
parent
commit
dd50b86449
  1. 2
      doc/api.markdown

2
doc/api.markdown

@ -1934,7 +1934,7 @@ resolves the IP addresses which are returned.
var a = addresses[i]; var a = addresses[i];
dns.reverse(a, function (err, domains) { dns.reverse(a, function (err, domains) {
if (err) { if (err) {
puts('reverse for ' + a + ' failed: ' + e.message); sys.puts('reverse for ' + a + ' failed: ' + err.message);
} else { } else {
sys.puts('reverse for ' + a + ': ' + JSON.stringify(domains)); sys.puts('reverse for ' + a + ': ' + JSON.stringify(domains));
} }

Loading…
Cancel
Save