X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=bin%2Fdebbugs-spam;h=da5e4577852855152d0f046fc8db757cd3ab2f74;hb=6c25cd47914e56919d5ad1529b88f1a958d0c84a;hp=a24c02a3e8f20f4ad28efc0c554aa9f8ea68b0e3;hpb=e22ecf3092665772654bf8d6f88bf4d328ec07e2;p=debbugs.git diff --git a/bin/debbugs-spam b/bin/debbugs-spam index a24c02a..da5e457 100755 --- a/bin/debbugs-spam +++ b/bin/debbugs-spam @@ -373,7 +373,7 @@ sub spam_score { while (<$spamc_out>) { if (/^X-Spam/) { $report .= $_; - if (/^X-Spam-Status: (Yes|No), score=([\d\.]+) required=([\d\.]+)/) { + if (/^X-Spam-Status: (Yes|No), score=(-?[\d\.]+) required=(-?[\d\.]+)/) { $threshold = $3; $score = $2; }