/[Apache-SVN]/spamassassin/trunk/masses/mass-check
ViewVC logotype

Diff of /spamassassin/trunk/masses/mass-check

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

--- spamassassin/trunk/masses/mass-check	2004/12/03 15:28:12	109682
+++ spamassassin/trunk/masses/mass-check	2004/12/03 15:30:55	109683
@@ -124,18 +124,12 @@ if ($opt_f) {
 
 if (scalar @targets == 0) { usage(); }
 
-my @debug;
 if (defined $opt_debug) {
-  if ($opt_debug) {
-    @debug = split(/,/, $opt_debug);
-  }
-  else {
-    @debug = ("all");
-  }
+  $opt_debug ||= 'all';
 }
 
 $spamtest = new Mail::SpamAssassin ({
-  'debug'              			=> \@debug,
+  'debug'              			=> $opt_debug,
   'rules_filename'     			=> $opt_c,
   'userprefs_filename' 			=> "$opt_p/user_prefs",
   'site_rules_filename'			=> "$opt_p/local.cf",

 

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26