diff options
| author | Laurent Bercot <ska-skaware@skarnet.org> | 2026-02-09 11:46:02 +0000 |
|---|---|---|
| committer | Laurent Bercot <ska-skaware@skarnet.org> | 2026-02-09 11:46:02 +0000 |
| commit | 23f070db6843a1d94f3cb6cffc1befcf9f187d50 (patch) | |
| tree | ba54c1aaed7a05ccc199474ba308f11c16c01dbc /src/qmail-remote/dns.c | |
| parent | 9308cc8d29ae410f9100eadf845d39117f1a28fc (diff) | |
| download | smtpd-starttls-proxy-23f070db6843a1d94f3cb6cffc1befcf9f187d50.tar.gz | |
yay, bugfix. Also add DESTDIR to runtime dir creation.
Diffstat (limited to 'src/qmail-remote/dns.c')
| -rw-r--r-- | src/qmail-remote/dns.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/qmail-remote/dns.c b/src/qmail-remote/dns.c index 472065d..0c44783 100644 --- a/src/qmail-remote/dns.c +++ b/src/qmail-remote/dns.c @@ -186,14 +186,11 @@ unsigned int dns_stuff (char const *host, char const *const *eaddr, unsigned int { #ifdef DEBUG char exch[256] ; - { - s6dns_domain_t dexch = mxs[i].exchange ; - s6dns_domain_decode(&dexch) ; - s6dns_domain_tostring(exch, 256, &dexch) ; - } + s6dns_domain_tostring(exch, 256, &mxs[i].exchange) ; #endif mxipinfo *p = genalloc_s(mxipinfo, &mxipi) + i ; p->ip4 = p->ip6 = stralloc_zero ; + s6dns_domain_encode(&mxs[i].exchange) ; if (!skadns_send_g(&a, &p->id4, &mxs[i].exchange, S6DNS_T_A, &deadline, &deadline)) qmailr_tempusys("send ", "A", " DNS query") ; LOLDEBUG("sending A for %s, id %hu", exch, p->id4) ; |
