From b824aff1aedbae2cffbdd5bf33c18e4480249be0 Mon Sep 17 00:00:00 2001 From: shugo Date: Fri, 19 Aug 2011 02:39:34 +0000 Subject: * backport r33001 from trunk. * lib/net/imap.rb (msg_att): accepts extra space before ')'. based on the patch by art lussos. [Bug #5163] [ruby-core:38820] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@33003 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- lib/net/imap.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/net/imap.rb b/lib/net/imap.rb index 724bc08e3b..1411313aae 100644 --- a/lib/net/imap.rb +++ b/lib/net/imap.rb @@ -2170,7 +2170,7 @@ module Net break when T_SPACE shift_token - token = lookahead + next end case token.value when /\A(?:ENVELOPE)\z/ni -- cgit v1.2.3