Skip to content

Commit

Permalink
ftpserver.pl: send 213 SIZE response without spurious newline
Browse files Browse the repository at this point in the history
  • Loading branch information
bagder committed Jan 23, 2024
1 parent 159b0fc commit 55a7808
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/ftpserver.pl
Expand Up @@ -2258,6 +2258,7 @@ sub SIZE_ftp {
my $size = $data[0];

if($size) {
$size += 0; # make it a number
if($size > -1) {
sendcontrol "213 $size\r\n";
}
Expand Down

0 comments on commit 55a7808

Please sign in to comment.