aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2001-09-14 12:01:21 +0000
committerDaniel Stenberg <daniel@haxx.se>2001-09-14 12:01:21 +0000
commit708431e2ea5da8d582cf92241ac8ee30a8c7e47b (patch)
treedcfa35fdbf48ad802a3bb4fe81d80d85d3dd9c88 /tests
parentdb5c1c61e5ea6f107406a3701be90e925be94eed (diff)
fixed the REST again
Diffstat (limited to 'tests')
-rw-r--r--tests/ftpserver.pl1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/ftpserver.pl b/tests/ftpserver.pl
index dcc60792c..956ff4d85 100644
--- a/tests/ftpserver.pl
+++ b/tests/ftpserver.pl
@@ -210,6 +210,7 @@ sub RETR_command {
# move read pointer forward
$size -= $rest;
logmsg "REST $rest was removed from size, makes $size left\n";
+ $rest = 0; # reset REST offset again
}
print "150 Binary data connection for $testno () ($size bytes).\r\n";
logmsg "150 Binary data connection for $testno ($size bytes).\n";