diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | lib/net/smtp.rb | 2 |
2 files changed, 6 insertions, 1 deletions
@@ -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(', ')}" |