diff options
author | shugo <shugo@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2000-01-07 03:34:02 +0000 |
---|---|---|
committer | shugo <shugo@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2000-01-07 03:34:02 +0000 |
commit | 0f1af179529faf45c3e11a80f26877b9ea1bf910 (patch) | |
tree | a6cbcd5255bdbd50fb5a135507ebd8635ec16106 /lib | |
parent | b7e6a40c72d1fcad0e518e4d7f48203011c12b15 (diff) | |
download | ruby-0f1af179529faf45c3e11a80f26877b9ea1bf910.tar.gz ruby-0f1af179529faf45c3e11a80f26877b9ea1bf910.tar.xz ruby-0f1af179529faf45c3e11a80f26877b9ea1bf910.zip |
*** empty log message ***
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@600 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib')
-rw-r--r-- | lib/ftplib.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ftplib.rb b/lib/ftplib.rb index 657825424..c21d861df 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)$/ |