artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4f0a1b9
)
remove unused variables
author
gilles
<gilles@openbsd.org>
Sat, 17 Oct 2015 13:30:47 +0000
(13:30 +0000)
committer
gilles
<gilles@openbsd.org>
Sat, 17 Oct 2015 13:30:47 +0000
(13:30 +0000)
usr.sbin/smtpd/dns.c
patch
|
blob
|
history
diff --git
a/usr.sbin/smtpd/dns.c
b/usr.sbin/smtpd/dns.c
index
ded2299
..
808a28c
100644
(file)
--- a/
usr.sbin/smtpd/dns.c
+++ b/
usr.sbin/smtpd/dns.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: dns.c,v 1.8
1 2015/01/20 17:37:54 deraadt Exp $
*/
+/* $OpenBSD: dns.c,v 1.8
2 2015/10/17 13:30:47 gilles Exp $
*/
/*
* Copyright (c) 2008 Gilles Chehade <gilles@poolp.org>
@@
-264,9
+264,6
@@
dns_imsg(struct mproc *p, struct imsg *imsg)
m_end(&m);
(void)strlcpy(s->name, mx, sizeof(s->name));
- sa = (struct sockaddr *)&ss;
- sl = sizeof(ss);
-
as = res_query_async(domain, C_IN, T_MX, NULL);
if (as == NULL) {
m_create(s->p, IMSG_MTA_DNS_MX_PREFERENCE, 0, 0, -1);