View | Details | Raw Unified | Return to bug 7296
Collapse All | Expand All

(-)sa-learn.raw (-2 / +8 lines)
Lines 398-405 Link Here
398
    for ($!=0; <F>; $!=0) {
398
    for ($!=0; <F>; $!=0) {
399
      chomp;
399
      chomp;
400
      next if /^\s*$/;
400
      next if /^\s*$/;
401
      if (/^(?:ham|spam):\w*:/) {
401
      if (/^(ham|spam):(\w*):(.*)/) {
402
        push ( @targets, $_ );
402
        my $class = $1;
403
        my $format = $2;
404
        my $target = $3;
405
        if ( $format eq "") {
406
          $format = "detect";
407
        }
408
        push ( @targets, "$class:$format:$target" );
403
      }
409
      }
404
      else {
410
      else {
405
        target($_);
411
        target($_);

Return to bug 7296