<<< Date Index >>>     <<< Thread Index >>>

Re: [PATCH] Fix progress counter in POP



Hi,

* Rocco Rutte [06-11-17 19:49:00 +0000] wrote:

The attached patch restores the previous behaviour.

Ooops... :-)

  bye, Rocco
--
:wq!
diff --git a/pop.c b/pop.c
index acc9181..80c7398 100644
--- a/pop.c
+++ b/pop.c
@@ -237,7 +237,7 @@ static int pop_fetch_headers (CONTEXT *c
   }
 
   mutt_progress_init (&progress, _("Fetching message headers..."),
-                     PROG_MSG, ReadInc, 0);
+                     PROG_MSG, ReadInc, new_count - old_count);
 
   if (ret == 0)
   {