Browse Source

Fix PTR resolving in lua resolver.

tags/0.7.6
Vsevolod Stakhov 9 years ago
parent
commit
ae18696598
2 changed files with 2 additions and 1 deletions
  1. 1
    0
      src/lua/lua_dns.c
  2. 1
    1
      src/plugins/lua/once_received.lua

+ 1
- 0
src/lua/lua_dns.c View File

@@ -237,6 +237,7 @@ lua_dns_resolver_resolve_common (lua_State *L,
return 1;
}
cbdata->to_resolve = rspamd_mempool_strdup (pool, ptr_str);
to_resolve = cbdata->to_resolve;
free (ptr_str);
}
lua_pushvalue (L, first + 3);

+ 1
- 1
src/plugins/lua/once_received.lua View File

@@ -55,7 +55,7 @@ local function check_quantity_received (task)
else
task:insert_result(symbol_strict, 1)
end
return
return
end

local i = true

Loading…
Cancel
Save