Project

General

Profile

Bug #3209

r27374 typo in net/smtp

Added by bitsweat (Jeremy Daer) almost 10 years ago. Updated almost 9 years ago.

Status:
Closed
Priority:
Normal
Target version:
ruby -v:
ruby 1.9.2dev (2010-04-25 trunk 27482) [x86_64-darwin10.3.0]
Backport:
[ruby-core:29827]

Description

=begin
diff --git a/lib/net/smtp.rb b/lib/net/smtp.rb
index c96caae..52ea003 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(', ')}" =end
#1

Updated by nobu (Nobuyoshi Nakada) almost 10 years ago

  • Status changed from Open to Closed

=begin
This issue has been solved with changeset r27512.
Jeremy, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.

=end

Also available in: Atom PDF