From: Jacob Bachmeyer Date: Thu, 17 Nov 2022 03:54:25 +0000 (-0600) Subject: Rename local variable in ftp_syslog X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=3d5911537b8c9507edbf5a99b7f2dbbb2653fa87;p=gatekeeper.git Rename local variable in ftp_syslog This change of terms aligns with RFC3164. --- diff --git a/gatekeeper.pl b/gatekeeper.pl index 84c343c..d9f7f72 100755 --- a/gatekeeper.pl +++ b/gatekeeper.pl @@ -409,7 +409,7 @@ gatekeeper itself and these functions may change without notice. } sub ftp_syslog { - my $priority = shift; + my $severity = shift; my $message = shift; our $Log_Tag; our $Phase; @@ -429,7 +429,7 @@ sub ftp_syslog { # when using non-valid syslog priorities. # That's why we run it inside an eval, with errors printed to STDERR, # complete with stack backtrace. - eval { syslog($priority, $message) }; + eval { syslog($severity, $message) }; cluck($@) if $@; }