aboutsummaryrefslogtreecommitdiffstats
path: root/lib/net/imap.rb
diff options
context:
space:
mode:
authorshugo <shugo@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-06-16 02:41:03 +0000
committershugo <shugo@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-06-16 02:41:03 +0000
commit97ac172d58d695305c39d555155318edb99f1ea7 (patch)
treec4594153908bb5ec395110255e573af026af2b76 /lib/net/imap.rb
parent685444569cb747b399e0ab087e5876fad08a71bb (diff)
downloadruby-97ac172d58d695305c39d555155318edb99f1ea7.tar.gz
* 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
Diffstat (limited to 'lib/net/imap.rb')
-rw-r--r--lib/net/imap.rb3
1 files changed, 2 insertions, 1 deletions
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 = []