-/* $OpenBSD: dns.c,v 1.79 2014/10/08 07:23:39 eric Exp $ */
+/* $OpenBSD: dns.c,v 1.80 2015/01/06 09:32:13 gilles Exp $ */
/*
* Copyright (c) 2008 Gilles Chehade <gilles@poolp.org>
}
as = res_query_async(s->name, C_IN, T_MX, NULL);
- if (as == NULL) {
+ if (as == NULL) {
log_warn("warn: req_query_async: %s", s->name);
m_create(s->p, IMSG_MTA_DNS_HOST_END, 0, 0, -1);
m_add_id(s->p, s->reqid);
struct unpack pack;
struct dns_header h;
struct dns_query q;
- struct dns_rr rr;
+ struct dns_rr rr;
char buf[512];
size_t found;