Skip to content

Commit

Permalink
dns: Return the lookup error string to the querier
Browse files Browse the repository at this point in the history
  • Loading branch information
mrannanj authored and villesavolainen committed Nov 14, 2018
1 parent 29ea620 commit 960b43f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dns/dns-client.c
Expand Up @@ -60,7 +60,7 @@ static int dns_client_input_args(struct connection *client, const char *const *a
e->add_str("error", err);
e_debug(e->event(), "Resolve failed: %s", err);
o_stream_nsend_str(client->output,
t_strdup_printf("%d\n", ret));
t_strdup_printf("%d\t%s\n", ret, err));
} else {
ARRAY_TYPE(const_string) tmp;
t_array_init(&tmp, ips_count);
Expand Down

0 comments on commit 960b43f

Please sign in to comment.