1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* lib/net/smtp.rb: parameter `to_addrs' might be an Array, .flatten is required. [ruby-dev:29316]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10763 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
aamine 2006-08-22 10:21:31 +00:00
parent 2d99616ec8
commit 575f94043f
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
Tue Aug 22 19:21:00 2006 Minero Aoki <aamine@loveruby.net>
* lib/net/smtp.rb: parameter `to_addrs' might be an Array,
.flatten is required. [ruby-dev:29316]
Tue Aug 22 12:35:57 2006 NARUSE, Yui <naruse@ruby-lang.org>
* ext/nkf/lib/kconv.rb (Kconv::RegexpEucjp): fix regexp for

View file

@ -794,7 +794,7 @@ module Net
def rcptto_list(to_addrs)
raise ArgumentError, 'mail destination not given' if to_addrs.empty?
to_addrs.each do |addr|
to_addrs.flatten.each do |addr|
rcptto addr
end
end