From 6078c938b2ef972a575b3a71bea7fb4e7e2df446 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Wed, 4 May 2005 21:51:09 +0000 Subject: [PATCH] modify a value we are allowed to --- tests/ftpserver.pl | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tests/ftpserver.pl b/tests/ftpserver.pl index 2c969e101..708aabff6 100644 --- a/tests/ftpserver.pl +++ b/tests/ftpserver.pl @@ -175,8 +175,9 @@ sub sendcontrol { } my $log; foreach $log (@_) { - $log =~ s/[\r\n]//g; - logmsg "> \"$log\"\n"; + my $l = $log; + $l =~ s/[\r\n]//g; + logmsg "> \"$l\"\n"; } }