From 6fd326e76cba5fecda1470c808c6d8cc61d60381 Mon Sep 17 00:00:00 2001 From: nobu Date: Tue, 27 Apr 2010 09:00:52 +0000 Subject: [PATCH] * 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 --- ChangeLog | 5 +++++ lib/net/smtp.rb | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) 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 + + * lib/net/smtp.rb (Net::SMTP#rcptto_list): fixed typo. + [ruby-core:29809] + Tue Apr 27 12:44:23 2010 Eric Hodel * 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(', ')}"