Skip to content

Commit

Permalink
Fix documentation errors for DNS
Browse files Browse the repository at this point in the history
  • Loading branch information
jherdman authored and ry committed Apr 11, 2010
1 parent 07e64d4 commit dd50b86
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/api.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -1934,7 +1934,7 @@ resolves the IP addresses which are returned.
var a = addresses[i];
dns.reverse(a, function (err, domains) {
if (err) {
puts('reverse for ' + a + ' failed: ' + e.message);
sys.puts('reverse for ' + a + ' failed: ' + err.message);
} else {
sys.puts('reverse for ' + a + ': ' + JSON.stringify(domains));
}
Expand Down

0 comments on commit dd50b86

Please sign in to comment.