net.dns: Fix for blocking dns lookups to find waiting coroutines correctly (not that we use this in Prosody...)

vault/0.11
Matthew Wild 16 years ago
parent 0ab240e0eb
commit 54c77c0054
  1. 2
      net/dns.lua

@ -745,7 +745,7 @@ function resolver:receive(rset) -- - - - - - - - - - - - - - - - - receive
if not next(self.active) then self:closeall(); end
-- was the query on the wanted list?
local q = response.question;
local q = response.question[1];
local cos = get(self.wanted, q.class, q.type, q.name);
if cos then
for co in pairs(cos) do

Loading…
Cancel
Save