summaryrefslogtreecommitdiffstats
path: root/perl-install/security/msec.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2002-11-11 22:20:22 +0000
committerPascal Rigaux <pixel@mandriva.com>2002-11-11 22:20:22 +0000
commit22ad938758373ec4e2f8490d62f2cdc237d50d7c (patch)
tree7848808920e41e4bbdee22867646139e7a907099 /perl-install/security/msec.pm
parentbfd84f6e2df1b083c8d95f6f8a84ede73d36dfea (diff)
downloaddrakx-22ad938758373ec4e2f8490d62f2cdc237d50d7c.tar
drakx-22ad938758373ec4e2f8490d62f2cdc237d50d7c.tar.gz
drakx-22ad938758373ec4e2f8490d62f2cdc237d50d7c.tar.bz2
drakx-22ad938758373ec4e2f8490d62f2cdc237d50d7c.tar.xz
drakx-22ad938758373ec4e2f8490d62f2cdc237d50d7c.zip
- replace ... =~ 'foo' with ... =~ /foo/
- remove unneeded parentheses for things like ... if (...)
Diffstat (limited to 'perl-install/security/msec.pm')
-rw-r--r--perl-install/security/msec.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/security/msec.pm b/perl-install/security/msec.pm
index 94af85fa3..33d7fd76d 100644
--- a/perl-install/security/msec.pm
+++ b/perl-install/security/msec.pm
@@ -195,7 +195,7 @@ sub get_functions {
(undef, $function) = split(/ /, $_);
($function, undef) = split(/\(/, $function);
if (!(member($function, @ignore_list))) {
- push(@functions, $function) if (member($function, @{$options{$category}}));
+ push(@functions, $function) if member($function, @{$options{$category}});
}
}
}
@@ -250,7 +250,7 @@ sub get_default_checks {
open F, $check_file;
while (<F>) {
($check, undef) = split(/=/, $_);
- push @checks, $check if (!(member($check, qw(MAIL_USER))))
+ push @checks, $check if !(member($check, qw(MAIL_USER)))
}
close F;
}