From 62eb6ea3f5be4c42ec130a851c1350c6a70ecc2a Mon Sep 17 00:00:00 2001 From: Jacob Bachmeyer Date: Tue, 15 Nov 2022 17:13:45 -0600 Subject: [PATCH] Remove directive text parameter to interpret_directive --- gatekeeper.pl | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/gatekeeper.pl b/gatekeeper.pl index e0a0928..b66d6e2 100755 --- a/gatekeeper.pl +++ b/gatekeeper.pl @@ -1909,7 +1909,6 @@ The values in the returned structure are untainted. # As temporary scaffolding, also sets the %info quasi-global. sub interpret_directive { my $directive = shift; # presumed tainted - my $directive_file_contents = shift; # temporary scaffold my @errors; my @trace; @@ -2722,7 +2721,7 @@ foreach my $packet (@packets) { # each list element is an array reference # this function just updates $info{email} guess_email_address_from_signature($directive_text); - $oplist = interpret_directive($directive, $directive_text); + $oplist = interpret_directive($directive); $op_header = $oplist->[0][1]; # Phone home. E-mail the contents of the directive file to the maintainer, -- 2.25.1