SA Bugzilla – Attachment #5458: Patch generated with svn diff for bug #7296
for ($!=0; <F>; $!=0) {
chomp;
next if /^\s*$/;
if (/^(?:ham|spam):\w*:/) {
if (/^(ham|spam):(\w*):(.*)/) {
push ( @targets, $_ );
my $class = $1;
my $format = $2;
my $target = $3;
if ( $format eq "") {
$format = "detect";
}
push ( @targets, "$class:$format:$target" );
else {
target($_);