summaryrefslogtreecommitdiffstats
path: root/lib/net
diff options
context:
space:
mode:
authorshugo <shugo@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-05-27 06:56:23 +0000
committershugo <shugo@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-05-27 06:56:23 +0000
commitfa457d85b816bc1b5f285b7dcfb9b1295a5a1f9e (patch)
treec89f976f330ff69ec8f6a05e70b27d160f4d3678 /lib/net
parent172eda7f036f5caeab1c0dd9073fd4e718c1aefa (diff)
downloadruby-fa457d85b816bc1b5f285b7dcfb9b1295a5a1f9e.tar.gz
ruby-fa457d85b816bc1b5f285b7dcfb9b1295a5a1f9e.tar.xz
ruby-fa457d85b816bc1b5f285b7dcfb9b1295a5a1f9e.zip
* lib/net/ftp.rb (MDTM_REGEXP): fix for demon's ftp server.
Thanks, Rutger Nijlunsing. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6419 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/net')
-rw-r--r--lib/net/ftp.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/net/ftp.rb b/lib/net/ftp.rb
index 2b94cde23..dfbcf1499 100644
--- a/lib/net/ftp.rb
+++ b/lib/net/ftp.rb
@@ -689,7 +689,7 @@ module Net
return resp[3..-1].strip.to_i
end
- MDTM_REGEXP = /^(\d\d\d\d)(\d\d)(\d\d)(\d\d)(\d\d)(\d\d)$/ # :nodoc:
+ MDTM_REGEXP = /^(\d\d\d\d)(\d\d)(\d\d)(\d\d)(\d\d)(\d\d)/ # :nodoc:
#
# Returns the last modification time of the (remote) file. If +local+ is