diff options
author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-04-03 20:58:13 +0000 |
---|---|---|
committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-04-03 20:58:13 +0000 |
commit | 5e50b5099f33b61f070ec010b040ee14334113c6 (patch) | |
tree | 9091eb1b776176ece8cd76993640912616f90aff /lib/net | |
parent | 4d87d0778293cc672baaf9b91414176a75c85fb9 (diff) | |
download | ruby-5e50b5099f33b61f070ec010b040ee14334113c6.tar.gz |
* 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@15900 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/net')
-rw-r--r-- | lib/net/pop.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/net/pop.rb b/lib/net/pop.rb index 2ecbcbdf28..6d1343eded 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 |