summaryrefslogtreecommitdiffstats
path: root/src/dns/test_dns_lookup.c
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-28 00:00:40 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-28 00:00:40 +0000
commitfaa9752f507e07b07039b29c6202d6cd23cab66f (patch)
treec67b057deb7a438bb94ea428e071a0c8fd5aac15 /src/dns/test_dns_lookup.c
parentReleasing progress-linux version 3.5.24-0+deb11u1progress6u1. (diff)
downloadpostfix-faa9752f507e07b07039b29c6202d6cd23cab66f.tar.xz
postfix-faa9752f507e07b07039b29c6202d6cd23cab66f.zip
Merging upstream version 3.5.25.
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 8366cf7..6778064 100644
--- a/src/dns/test_dns_lookup.c
+++ b/src/dns/test_dns_lookup.c
@@ -119,9 +119,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);