[interchange] Remove extraneous "my" declaration which was causing unnecessary noise in the logs

David Christensen interchange-cvs at icdevgroup.org
Thu May 13 20:53:15 UTC 2010


commit 956b727c0af4a09ecbd16c966e71fd24a27bdca9
Author: David Christensen <david at endpoint.com>
Date:   Thu May 13 15:52:58 2010 -0500

    Remove extraneous "my" declaration which was causing unnecessary noise in the logs

 lib/Vend/Error.pm |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/lib/Vend/Error.pm b/lib/Vend/Error.pm
index 3be8bec..29b0541 100644
--- a/lib/Vend/Error.pm
+++ b/lib/Vend/Error.pm
@@ -185,7 +185,7 @@ sub do_lockout {
 	# Now we log the error after custom lockout routine gets chance
 	# to bypass 
 	my $pause = $::Limit->{lockout_reset_seconds} || 30;
-	my $msg = errmsg(
+	$msg = errmsg(
 		"WARNING: POSSIBLE BAD ROBOT. %s accesses with no %d second pause.",
 		$Vend::Session->{accesses},
 		$pause,



More information about the interchange-cvs mailing list