ftpserver.pl: send 213 SIZE response without spurious newline

This commit is contained in:
Daniel Stenberg 2024-01-23 13:01:37 +01:00
parent c2d973627b
commit f0986c6e18
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2

View file

@ -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";
}