summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfukachan <fukachan>2001-08-05 14:07:08 +0000
committerfukachan <fukachan>2001-08-05 14:07:08 +0000
commit0606b46ca0939d74a252a4f4acdfc50e997020a7 (patch)
tree639515d502ce9f10c5cc1eb1ac08e1ed2069977a
parentcf03653ae880f737dc20d0b714a782d7c2737195 (diff)
downloadfml8-0606b46ca0939d74a252a4f4acdfc50e997020a7.tar.gz
fml8-0606b46ca0939d74a252a4f4acdfc50e997020a7.tar.bz2
fml8-0606b46ca0939d74a252a4f4acdfc50e997020a7.zip
oops, wrong. back again from loop_check to check
-rw-r--r--fml/lib/FML/Filter/HeaderCheck.pm9
1 files changed, 4 insertions, 5 deletions
diff --git a/fml/lib/FML/Filter/HeaderCheck.pm b/fml/lib/FML/Filter/HeaderCheck.pm
index 25f158fb..3ebb898f 100644
--- a/fml/lib/FML/Filter/HeaderCheck.pm
+++ b/fml/lib/FML/Filter/HeaderCheck.pm
@@ -4,7 +4,7 @@
# All rights reserved. This program is free software; you can
# redistribute it and/or modify it under the same terms as Perl itself.
#
-# $FML: HeaderCheck.pm,v 1.2 2001/03/30 12:57:18 fukachan Exp $
+# $FML: HeaderCheck.pm,v 1.3 2001/08/05 13:55:05 fukachan Exp $
#
package FML::Filter::HeaderCheck;
@@ -42,11 +42,11 @@ sub new
-=head2 C<header_loop_check($curproc, $args)>
+=head2 C<header_check($curproc, $args)>
entrance to the header check routines.
C<fml process> to need this function kicks off fileter rules
-through C<header_loop_check()>.
+through C<header_check()>.
Filter rules are applied to the incoming message from STDIN,
@@ -55,14 +55,13 @@ Filter rules are applied to the incoming message from STDIN,
=cut
-sub header_loop_check
+sub header_check
{
my ($self, $curproc, $args) = @_;
my $msg = $curproc->{'incoming_message'};
eval q{
$self->is_valid_message_id($curproc, $args, $msg);
-
};
if ($@) {