From 97ac172d58d695305c39d555155318edb99f1ea7 Mon Sep 17 00:00:00 2001 From: shugo Date: Thu, 16 Jun 2011 02:41:03 +0000 Subject: * lib/net/imap.rb (search_response): parses SEARCH responses from the Yahoo IMAP server correctly. patched by Mark Nadig. [Bug #4509] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32114 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- lib/net/imap.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lib/net/imap.rb') diff --git a/lib/net/imap.rb b/lib/net/imap.rb index 0ddb0f346f..724bc08e3b 100644 --- a/lib/net/imap.rb +++ b/lib/net/imap.rb @@ -2748,8 +2748,9 @@ module Net break when T_SPACE shift_token + else + data.push(number) end - data.push(number) end else data = [] -- cgit v1.2.3