ftpserver.pl: Corrected some indentation in senddata()

This commit is contained in:
Steve Holme
2014-03-29 23:10:48 +00:00
parent 713402982f
commit f559611aa1

View File

@@ -517,18 +517,19 @@ sub senddata {
} }
return; return;
} }
foreach $l (@_) { foreach $l (@_) {
if(!$datadelay) { if(!$datadelay) {
# spit it all out at once # spit it all out at once
sockfiltsecondary $l; sockfiltsecondary $l;
} }
else { else {
# pause between each byte # pause between each byte
for (split(//,$l)) { for (split(//,$l)) {
sockfiltsecondary $_; sockfiltsecondary $_;
select(undef, undef, undef, 0.01); select(undef, undef, undef, 0.01);
} }
} }
} }
} }