summaryrefslogtreecommitdiffstats
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
commit5ae4bac2b5321c25c653b4c3633917fe2aaafa90 (patch)
treefc3f0c50e447560bd6a5bd9bef4a8681f8a94f4c /lib
parentff0e85c7d82cfea896c9fc5515663e9ad96c63ea (diff)
downloadruby-5ae4bac2b5321c25c653b4c3633917fe2aaafa90.tar.gz
ruby-5ae4bac2b5321c25c653b4c3633917fe2aaafa90.tar.xz
ruby-5ae4bac2b5321c25c653b4c3633917fe2aaafa90.zip
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: http://svn.ruby-lang.org/repos/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 2ecbcbdf2..6d1343ede 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