summaryrefslogtreecommitdiff
path: root/tests/ftpserver.pl
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ftpserver.pl')
-rwxr-xr-xtests/ftpserver.pl3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/ftpserver.pl b/tests/ftpserver.pl
index 99722bb8c..e9f988e8b 100755
--- a/tests/ftpserver.pl
+++ b/tests/ftpserver.pl
@@ -327,7 +327,8 @@ sub sendcontrol {
my $log;
foreach $log (@_) {
my $l = $log;
- $l =~ s/[\r\n]//g;
+ $l =~ s/\r/[CR]/g;
+ $l =~ s/\n/[LF]/g;
logmsg "> \"$l\"\n";
}
}