The index was never used anyway. Now we're using an alloconly pool,
there's no need for the dns_lookup to keep a freeable pointer to the
fields also int result.
Signed-off-by: Phil Carmody <phil@dovecot.fi>
unsigned int warn_msecs;
struct dns_lookup_result result;
- struct ip_addr *ips;
- unsigned int ip_idx;
- char *name;
struct event *event;
dns_lookup_callback_t *callback;
}
if (lookup->ptr_lookup) {
- result->name = lookup->name = p_strdup(lookup->pool, args[1]);
+ result->name = p_strdup(lookup->pool, args[1]);
return 1;
}