summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorshugo <shugo@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-08-19 02:32:59 +0000
committershugo <shugo@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-08-19 02:32:59 +0000
commit28b5db007f531a95917a07ed02146fc8360ae104 (patch)
tree2676eeea9e876b99df0c2f2e7de98a962469b19d /lib
parent29cbd3392343b91ef4269416d5f4ed3406d2ce26 (diff)
* 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/trunk@33001 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib')
-rw-r--r--lib/net/imap.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/net/imap.rb b/lib/net/imap.rb
index 06e1a30094..9095ea399a 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