summaryrefslogtreecommitdiff
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
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
-rw-r--r--ChangeLog5
-rw-r--r--lib/net/smtp.rb2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index e89af75916..7f82b56c56 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Tue Apr 27 18:00:50 2010 Nobuyoshi Nakada <nobu@ruby-lang.org>
+
+ * lib/net/smtp.rb (Net::SMTP#rcptto_list): fixed typo.
+ [ruby-core:29809]
+
Tue Apr 27 12:44:23 2010 Eric Hodel <drbrain@segment7.net>
* lib/rdoc: Import RDoc 2.5.7. Fixes #1318 and ruby-core:29780.
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(', ')}"