You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spamassassin.apache.org by bi...@apache.org on 2018/12/10 01:43:55 UTC

svn commit: r1848545 - /spamassassin/trunk/rulesrc/sandbox/billcole/24_mixed_es.cf

Author: billcole
Date: Mon Dec 10 01:43:55 2018
New Revision: 1848545

URL: http://svn.apache.org/viewvc?rev=1848545&view=rev
Log:
evading 'possible divide by zero' on antique systems

Modified:
    spamassassin/trunk/rulesrc/sandbox/billcole/24_mixed_es.cf

Modified: spamassassin/trunk/rulesrc/sandbox/billcole/24_mixed_es.cf
URL: http://svn.apache.org/viewvc/spamassassin/trunk/rulesrc/sandbox/billcole/24_mixed_es.cf?rev=1848545&r1=1848544&r2=1848545&view=diff
==============================================================================
--- spamassassin/trunk/rulesrc/sandbox/billcole/24_mixed_es.cf (original)
+++ spamassassin/trunk/rulesrc/sandbox/billcole/24_mixed_es.cf Mon Dec 10 01:43:55 2018
@@ -5,7 +5,7 @@ if can(Mail::SpamAssassin::Conf::feature
     replace_rules   __E_LIKE_LETTER
     body            __E_LIKE_LETTER /<E>/
     tflags          __E_LIKE_LETTER multiple
-    meta            MIXED_ES        ( __LOWER_E > 20 ) && ( __E_LIKE_LETTER > ( (__LOWER_E * 14 ) / 10) ) && ( ( __E_LIKE_LETTER / __LOWER_E ) < 10 )
+    meta            MIXED_ES        ( __LOWER_E > 20 ) && ( __E_LIKE_LETTER > ( (__LOWER_E * 14 ) / 10) ) && ( __E_LIKE_LETTER > ( 10 * __LOWER_E ) )
     describe        MIXED_ES        Too many es are not es
   endif
 endif