blob: 415bc187865d52a4571422390f402f5031b82cd8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
https://svn.apache.org/viewvc/spamassassin/trunk/sa-update.raw?r1=1910601&r2=1910600&pathrev=1910601
--- a/sa-update.raw
+++ b/sa-update.raw
@@ -1458,7 +1458,7 @@
next if !$rr; # no answer records, only rcode
next if $rr->type ne $rr_type;
# scalar context!
- my $text = $rr->UNIVERSAL::can('txtdata') ? $rr->txtdata : $rr->rdatastr;
+ my $text = $rr->UNIVERSAL::can('txtdata') ? $rr->txtdata : $rr->rdstring;
push(@result,$text) if defined $text && $text ne '';
}
printf("DNS %s query: %s -> %s\n", $rr_type, $query, join(", ",@result))
|