diff options
author | Tobias Markmann <tm@ayena.de> | 2008-11-29 11:24:59 +0100 |
---|---|---|
committer | Tobias Markmann <tm@ayena.de> | 2008-11-29 11:24:59 +0100 |
commit | abf0d19152cbf880252435d2801d852ce0459df8 (patch) | |
tree | bfde55649a88754f29d5bdbd68d3d2817675d3e8 /net/dns.lua | |
parent | a718775bd40db918564a31e90f4c17a98a4cecfc (diff) | |
parent | dcf87bb7c912e4206aae1fd3c959d87e8f59242f (diff) | |
download | prosody-abf0d19152cbf880252435d2801d852ce0459df8.tar.gz prosody-abf0d19152cbf880252435d2801d852ce0459df8.zip |
Forced merge.
Diffstat (limited to 'net/dns.lua')
-rw-r--r-- | net/dns.lua | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/net/dns.lua b/net/dns.lua index 7364161e..ea1d5d96 100644 --- a/net/dns.lua +++ b/net/dns.lua @@ -691,7 +691,8 @@ function resolver:pulse () -- - - - - - - - - - - - - - - - - - - - - pulse if not next (self.active) then return nil end else -- print ('retry', o.server, o.delay) - self.socket[o.server]:send (o.packet) + local _a = self.socket[o.server]; + if _a then _a:send (o.packet) end o.retry = self.time + self.delays[o.delay] end end end end |