Changeset

4252:210639fb8fbe

Merge Zash->trunk
author Matthew Wild <mwild1@gmail.com>
date Fri, 15 Apr 2011 22:45:06 +0100
parents 4250:7b456af75c77 (current diff) 4251:96e9d5f9ab3b (diff)
children 4255:0c525524f2dc
files
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/net/dns.lua	Fri Apr 15 22:39:53 2011 +0100
+++ b/net/dns.lua	Fri Apr 15 22:45:06 2011 +0100
@@ -479,7 +479,7 @@
 end
 
 function resolver:TXT(rr)    -- - - - - - - - - - - - - - - - - - - - - -  TXT
-	rr.txt = self:sub (rr.rdlength);
+	rr.txt = self:sub (self:byte());
 end