From dd50b864497dfa2854f12d10f175900e071e2b63 Mon Sep 17 00:00:00 2001 From: James Herdman Date: Sat, 10 Apr 2010 12:08:11 -0400 Subject: [PATCH] Fix documentation errors for DNS --- doc/api.markdown | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/api.markdown b/doc/api.markdown index a3ab8ad7b3..a9c3e06954 100644 --- a/doc/api.markdown +++ b/doc/api.markdown @@ -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)); }