diff options
author | Eric Faurot <eric@cvs.openbsd.org> | 2013-04-30 12:07:22 +0000 |
---|---|---|
committer | Eric Faurot <eric@cvs.openbsd.org> | 2013-04-30 12:07:22 +0000 |
commit | 15518391ee375c47892f56bd5880c04bbb571a30 (patch) | |
tree | f74f84585503c7ca3969d505bd7ed226ae164acf /usr.sbin | |
parent | dec0bf0e99487e968f207098be8e18303010c4a3 (diff) |
remove params after API change.
Diffstat (limited to 'usr.sbin')
-rw-r--r-- | usr.sbin/smtpd/dns.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/smtpd/dns.c b/usr.sbin/smtpd/dns.c index eae44611eb1..33e0eb5fc40 100644 --- a/usr.sbin/smtpd/dns.c +++ b/usr.sbin/smtpd/dns.c @@ -1,4 +1,4 @@ -/* $OpenBSD: dns.c,v 1.64 2013/01/26 09:37:23 gilles Exp $ */ +/* $OpenBSD: dns.c,v 1.65 2013/04/30 12:07:21 eric Exp $ */ /* * Copyright (c) 2008 Gilles Chehade <gilles@poolp.org> @@ -141,7 +141,7 @@ dns_imsg(struct mproc *p, struct imsg *imsg) m_get_string(&m, &domain); m_end(&m); strlcpy(s->name, domain, sizeof(s->name)); - as = res_query_async(s->name, C_IN, T_MX, NULL, 0, NULL); + as = res_query_async(s->name, C_IN, T_MX, NULL); async_run_event(as, dns_dispatch_mx, s); return; @@ -150,7 +150,7 @@ dns_imsg(struct mproc *p, struct imsg *imsg) m_get_string(&m, &mx); m_end(&m); strlcpy(s->name, mx, sizeof(s->name)); - as = res_query_async(domain, C_IN, T_MX, NULL, 0, NULL); + as = res_query_async(domain, C_IN, T_MX, NULL); async_run_event(as, dns_dispatch_mx_preference, s); return; |