aboutsummaryrefslogtreecommitdiffstats
path: root/net
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
commitce5ae56ec4f89598787e7857e0e65464f4dbfe46 (patch)
tree3e38f864eecc748e87f2fbead4a6461f39337961 /net
parent82cd5744202346d586b6c8c0cb344cad74a34564 (diff)
parent1dfc82ef0de6acc84aad3568607e6a00651ad1e4 (diff)
downloadprosody-ce5ae56ec4f89598787e7857e0e65464f4dbfe46.tar.gz
prosody-ce5ae56ec4f89598787e7857e0e65464f4dbfe46.zip
Merge Zash->trunk
Diffstat (limited to 'net')
-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