mirror of
https://github.com/moparisthebest/curl
synced 2025-02-28 09:21:50 -05:00
ftpserver.pl: Corrected some indentation in senddata()
This commit is contained in:
parent
713402982f
commit
f559611aa1
@ -517,18 +517,19 @@ sub senddata {
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
foreach $l (@_) {
|
||||
if(!$datadelay) {
|
||||
# spit it all out at once
|
||||
sockfiltsecondary $l;
|
||||
}
|
||||
else {
|
||||
# pause between each byte
|
||||
for (split(//,$l)) {
|
||||
sockfiltsecondary $_;
|
||||
select(undef, undef, undef, 0.01);
|
||||
}
|
||||
}
|
||||
if(!$datadelay) {
|
||||
# spit it all out at once
|
||||
sockfiltsecondary $l;
|
||||
}
|
||||
else {
|
||||
# pause between each byte
|
||||
for (split(//,$l)) {
|
||||
sockfiltsecondary $_;
|
||||
select(undef, undef, undef, 0.01);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user