ftpserver.pl: Corrected some indentation in senddata()
This commit is contained in:
@@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user