From a3da8465b4406e01b9b597e0af81dad3f65c5528 Mon Sep 17 00:00:00 2001 From: shugo Date: Fri, 7 Jan 2000 03:34:02 +0000 Subject: [PATCH] *** empty log message *** git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@600 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- lib/ftplib.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)$/