summaryrefslogtreecommitdiff
path: root/tests/ftpserver.pl
diff options
context:
space:
mode:
authorSteve Holme <steve_holme@hotmail.com>2014-03-29 23:10:48 +0000
committerSteve Holme <steve_holme@hotmail.com>2014-03-29 23:17:16 +0000
commitf559611aa14067a0fb9c6b10032bdd644437b134 (patch)
tree26913790151c2929dc5a3c7dea950fb4fee24d85 /tests/ftpserver.pl
parent713402982fa7cf8beb9a12a8739348f7da06c1a6 (diff)
downloadcurl-f559611aa14067a0fb9c6b10032bdd644437b134.tar.gz
ftpserver.pl: Corrected some indentation in senddata()
Diffstat (limited to 'tests/ftpserver.pl')
-rwxr-xr-xtests/ftpserver.pl23
1 files changed, 12 insertions, 11 deletions
diff --git a/tests/ftpserver.pl b/tests/ftpserver.pl
index 76b6f4bea..7ebea7c0b 100755
--- a/tests/ftpserver.pl
+++ b/tests/ftpserver.pl
@@ -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);
+ }
+ }
}
}