summaryrefslogtreecommitdiff
path: root/lib/net/smtp.rb
diff options
context:
space:
mode:
authoraamine <aamine@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2000-10-25 17:40:30 +0000
committeraamine <aamine@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2000-10-25 17:40:30 +0000
commit34f44ca496108c98d05cf2338e36fa66bc362255 (patch)
tree8dc640c0f56ecd242e1d086a25b54255b1c7606b /lib/net/smtp.rb
parent033a4ffa4b2fc59017995f8a2856dbc73af87c82 (diff)
aamine
* lib/net/protocol.rb: Command#critical_ok * lib/net/smtp.rb: clear critical flag before go to SMTP git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1016 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/net/smtp.rb')
-rw-r--r--lib/net/smtp.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/net/smtp.rb b/lib/net/smtp.rb
index 4ea9a2f..33fc41e 100644
--- a/lib/net/smtp.rb
+++ b/lib/net/smtp.rb
@@ -146,6 +146,7 @@ module Net
rescue ProtocolError
if @esmtp then
@esmtp = false
+ @command.critical_ok
retry
else
raise