aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2011-04-15 22:45:06 +0100
committerMatthew Wild <mwild1@gmail.com>2011-04-15 22:45:06 +0100
commitabb4a4f6caa7ae5039c3ba1239f963e090f307c7 (patch)
tree3e38f864eecc748e87f2fbead4a6461f39337961
parent4ff48cecfd6ae3a630f92bd0b2bcc6a89c8408c8 (diff)
parent66a908d35fcb8564d592e8e91133ef337e832284 (diff)
downloadprosody-abb4a4f6caa7ae5039c3ba1239f963e090f307c7.tar.gz
prosody-abb4a4f6caa7ae5039c3ba1239f963e090f307c7.zip
Merge Zash->trunk
-rw-r--r--net/dns.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/dns.lua b/net/dns.lua
index c905f56c..08cb0f7c 100644
--- a/net/dns.lua
+++ b/net/dns.lua
@@ -479,7 +479,7 @@ function resolver:PTR(rr)
end
function resolver:TXT(rr) -- - - - - - - - - - - - - - - - - - - - - - TXT
- rr.txt = self:sub (rr.rdlength);
+ rr.txt = self:sub (self:byte());
end