You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spamassassin.apache.org by mm...@apache.org on 2009/11/09 18:43:33 UTC

svn commit: r834158 - /spamassassin/trunk/t/rule_names.t

Author: mmartinec
Date: Mon Nov  9 17:43:33 2009
New Revision: 834158

URL: http://svn.apache.org/viewvc?rev=834158&view=rev
Log:
t/rule_names.t cosmetics

Modified:
    spamassassin/trunk/t/rule_names.t

Modified: spamassassin/trunk/t/rule_names.t
URL: http://svn.apache.org/viewvc/spamassassin/trunk/t/rule_names.t?rev=834158&r1=834157&r2=834158&view=diff
==============================================================================
--- spamassassin/trunk/t/rule_names.t (original)
+++ spamassassin/trunk/t/rule_names.t Mon Nov  9 17:43:33 2009
@@ -126,7 +126,7 @@
 # Fisher-Yates shuffle
 sub fy_shuffle {
   for (my $i = $#_; $i > 0; $i--) {
-    @_[$_,$i] = @_[$i,$_] for rand $i+1;
+    @_[$_,$i] = @_[$i,$_] for int rand($i+1);
   }
   return @_;
 }