summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorshyouhei <shyouhei@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-06-15 12:27:24 +0000
committershyouhei <shyouhei@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-06-15 12:27:24 +0000
commit86c4bcac89f49994ba76501820290c5fb1bdfb48 (patch)
treebddc64ae97c1d6aff190f296b09faf7c27e0d086 /lib
parent45633971cc46b6e68f64dc8b9056e4a1381b2bcd (diff)
merge revision(s) 15900:
* lib/net/pop.rb (Net::POP3::do_finish): clear @n_mails and @n_bytes as well. [ruby-core:16144] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_5@17228 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib')
-rw-r--r--lib/net/pop.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/net/pop.rb b/lib/net/pop.rb
index b76124156b..39d446f9e6 100644
--- a/lib/net/pop.rb
+++ b/lib/net/pop.rb
@@ -462,6 +462,8 @@ module Net
def do_finish
@mails = nil
+ @n_mails = nil
+ @n_bytes = nil
@command.quit if @command
ensure
@started = false