bufixes
authorPierre Habouzit <madcoder@debian.org>
Tue, 21 Oct 2003 20:55:03 +0000 (20:55 +0000)
committerPierre Habouzit <madcoder@debian.org>
Tue, 21 Oct 2003 20:55:03 +0000 (20:55 +0000)
philter/philter/include/rule.inc.php

index dbb7b26..218e59c 100644 (file)
@@ -97,18 +97,16 @@ class Rule {
         } else {
             $i = 0; $res = '';
             foreach($this->matches as $match) {
-                $res .= (empty($i) ? ":0 f\n" : ":0 fE");
+                $res .= (empty($i) ? ":0 f\n" : ":0 fE\n");
                 $res .= $philter->config['match_plugins'][$match[0]]->to_string($match);
                 $res .= "| formail -I'X-Philter-Or: yes'\n";
                 $i++;
             }
 
-            $res.= "\n"
-                .  ":0 f\n"
+            $res.= ":0 f\n"
                 .  "* ^X-Philter-Or: yes\n"
                 .  "| formail -I'X-Philter-Or'\n"
-                .  "\n"
-                .  ($this->block ? ":0\n" : ":0 c\n");
+                .  ($this->block ? ":0 A\n" : ":0 Ac\n");
         }
         
         $res.= "{\n";