summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorshugo <shugo@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2000-01-07 03:34:02 +0000
committershugo <shugo@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2000-01-07 03:34:02 +0000
commita3da8465b4406e01b9b597e0af81dad3f65c5528 (patch)
treea6cbcd5255bdbd50fb5a135507ebd8635ec16106
parentdeee7cb19f21323112075a85fab62fa87c4db117 (diff)
*** empty log message ***
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@600 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--lib/ftplib.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ftplib.rb b/lib/ftplib.rb
index 657825424f..c21d861df1 100644
--- a/lib/ftplib.rb
+++ b/lib/ftplib.rb
@@ -453,7 +453,7 @@ class FTP
if resp[0, 3] != "213"
raise FTPReplyError, resp
end
- return resp[3..-1].strip
+ return resp[3..-1].strip.to_i
end
MDTM_REGEXP = /^(\d\d\d\d)(\d\d)(\d\d)(\d\d)(\d\d)(\d\d)$/