From: Jacob Bachmeyer Date: Tue, 15 Nov 2022 23:13:45 +0000 (-0600) Subject: Remove directive text parameter to interpret_directive X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=62eb6ea3f5be4c42ec130a851c1350c6a70ecc2a;p=gatekeeper.git Remove directive text parameter to interpret_directive --- 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,