From 5e50b5099f33b61f070ec010b040ee14334113c6 Mon Sep 17 00:00:00 2001 From: matz Date: Thu, 3 Apr 2008 20:58:13 +0000 Subject: [PATCH] * 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 --- ChangeLog | 5 +++++ lib/net/pop.rb | 2 ++ 2 files changed, 7 insertions(+) diff --git a/ChangeLog b/ChangeLog index c990980c07..9506bc14e0 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Fri Apr 4 05:57:11 2008 Yukihiro Matsumoto + + * lib/net/pop.rb (Net::POP3::do_finish): clear @n_mails and + @n_bytes as well. [ruby-core:16144] + Fri Apr 4 02:17:06 2008 Yukihiro Matsumoto * range.c (range_step): should not round step into integer if 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