summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2000-08-15 09:04:32 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2000-08-15 09:04:32 +0000
commit82178a552907e413a09f5dfe646fb3e876f4011c (patch)
tree7c3144aaa982b4f882818211b22f7a1fd4b27ba8 /lib
parent740a664bc8615656bea6e1181bf5c65ee56d8a60 (diff)
matz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@894 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib')
-rw-r--r--lib/net/ftp.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/net/ftp.rb b/lib/net/ftp.rb
index a40b3532b11..a63acec1d8a 100644
--- a/lib/net/ftp.rb
+++ b/lib/net/ftp.rb
@@ -216,6 +216,7 @@ module Net
raise FTPReplyError, resp
end
conn = sock.accept
+ sock.close
end
return conn
end