summaryrefslogtreecommitdiffstats
path: root/src/dns/test_dns_lookup.c
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-04 10:22:01 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-04 10:22:01 +0000
commita8124680264223db14cd09a7e3a763a8309faf54 (patch)
treeea37b6dc47f4cb0d95db48b8b4569066112e1cd0 /src/dns/test_dns_lookup.c
parentReleasing progress-linux version 3.7.10-0+deb12u1~progress6.99u1. (diff)
downloadpostfix-a8124680264223db14cd09a7e3a763a8309faf54.tar.xz
postfix-a8124680264223db14cd09a7e3a763a8309faf54.zip
Merging upstream version 3.7.11.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'src/dns/test_dns_lookup.c')
-rw-r--r--src/dns/test_dns_lookup.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/dns/test_dns_lookup.c b/src/dns/test_dns_lookup.c
index e25f523..f07c3ef 100644
--- a/src/dns/test_dns_lookup.c
+++ b/src/dns/test_dns_lookup.c
@@ -121,9 +121,11 @@ int main(int argc, char **argv)
vstream_printf("%s: fqdn: %s\n", name, vstring_str(fqdn));
buf = vstring_alloc(100);
print_rr(buf, rr);
+ vstream_fflush(VSTREAM_OUT);
+ if (DNS_RR_IS_TRUNCATED(rr))
+ msg_warn("one or more excess DNS_RR records were dropped");
dns_rr_free(rr);
vstring_free(buf);
- vstream_fflush(VSTREAM_OUT);
}
}
myfree((void *) types);