projects
/
prosody.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b5906d1
)
net.dns: Fix TXT records
author
Kim Alvefur
<zash@zash.se>
Thu, 14 Apr 2011 22:54:10 +0000
(
00:54
+0200)
committer
Kim Alvefur
<zash@zash.se>
Thu, 14 Apr 2011 22:54:10 +0000
(
00:54
+0200)
net/dns.lua
patch
|
blob
|
history
diff --git
a/net/dns.lua
b/net/dns.lua
index c905f56c5d612565d416a2fcd85321cc64f58b7a..08cb0f7cacbe40b476f344be65a284a50b3e6dc7 100644
(file)
--- 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