summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorshyouhei <shyouhei@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-06-15 12:27:56 +0000
committershyouhei <shyouhei@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-06-15 12:27:56 +0000
commitf29c158299ea83c3837ea298ff19556edcea576c (patch)
treefc3f0c50e447560bd6a5bd9bef4a8681f8a94f4c /lib
parent1a019c0e1253803a411fbc3c9894f2c605ded1ca (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_6@17230 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 2ecbcbd..6d1343e 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