summaryrefslogtreecommitdiff
path: root/lib/net/smtp.rb
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-04-27 09:00:52 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-04-27 09:00:52 +0000
commit6fd326e76cba5fecda1470c808c6d8cc61d60381 (patch)
tree97360a9ac7cc5aee2d5fff88ab360b8ae2e7203b /lib/net/smtp.rb
parent336a8301f725bd8fbf5f1e0c4fee162382a76d0f (diff)
* lib/net/smtp.rb (Net::SMTP#rcptto_list): fixed typo.
[ruby-core:29809] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27512 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/net/smtp.rb')
-rw-r--r--lib/net/smtp.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/net/smtp.rb b/lib/net/smtp.rb
index c96caae3d8..52ea003771 100644
--- a/lib/net/smtp.rb
+++ b/lib/net/smtp.rb
@@ -839,7 +839,7 @@ module Net
ok_users << addr
end
end
- raise ArgumentError, 'mail destination not given' if ok_addrs.empty?
+ raise ArgumentError, 'mail destination not given' if ok_users.empty?
ret = yield
unless unknown_users.empty?
raise SMTPAuthenticationError, "failed to deliver for #{unknown_users.join(', ')}"