aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--test/net/ftp/test_ftp.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/net/ftp/test_ftp.rb b/test/net/ftp/test_ftp.rb
index f7cbf6352d..e775fa0010 100644
--- a/test/net/ftp/test_ftp.rb
+++ b/test/net/ftp/test_ftp.rb
@@ -263,7 +263,7 @@ class FTPTest < Test::Unit::TestCase
sock.print("150 Here comes the directory listing.\r\n")
conn = TCPSocket.new(host, port)
list_lines.each_with_index do |l, i|
- if i == 1
+ if i == 0
sleep(0.3)
else
sleep(0.1)