changeset 123:ec190bad201b noffle

[svn] Applied patch from M.Nalis for fixing a small problem with the printed counters while fetching articles.
author enz
date Sat, 22 Jul 2000 07:21:11 +0100
parents d00adc26d77a
children cfad9678e286
files ChangeLog src/client.c
diffstat 2 files changed, 9 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Wed Jul 19 20:47:41 2000 +0100
+++ b/ChangeLog	Sat Jul 22 07:21:11 2000 +0100
@@ -4,6 +4,11 @@
 
 Wed Jul 19 2000 Markus Enzenberger <markus.enzenberger@t-online.de>
 
+ * Applied patch from M.Nalis for fixing a small problem with
+   the printed counters while fetching articles. 
+
+Wed Jul 19 2000 Markus Enzenberger <markus.enzenberger@t-online.de>
+
  * Do not acquire global lock for prniting help
 
 Fri Jul 14 2000 Matija Nalis <mnalis-sf@voyager.hr>
--- a/src/client.c	Wed Jul 19 20:47:41 2000 +0100
+++ b/src/client.c	Sat Jul 22 07:21:11 2000 +0100
@@ -1,7 +1,7 @@
 /*
   client.c
 
-  $Id: client.c 174 2000-07-19 07:02:45Z enz $
+  $Id: client.c 177 2000-07-22 06:21:11Z enz $
 */
 
 #if HAVE_CONFIG_H
@@ -1030,10 +1030,10 @@
     p = list;
     while ( ( p = Utl_getLn( msgId, p ) ) )
         if ( ! Db_contains( msgId ) )
-            Log_err( "Skipping retrieving of %s (not prepared in database)",
-                     msgId );
+            Log_err( "[%d/%d] Skipping retrieving of %s (not prepared in database)",
+                     ++(*artcnt), artmax, msgId );
         else if ( ! ( Db_status( msgId ) & DB_NOT_DOWNLOADED ) )
-            Log_inf( "Skipping %s (already retrieved)", msgId );
+            Log_inf( "[%d/%d] Skipping %s (already retrieved)", ++(*artcnt), artmax, msgId );
         else if ( ! putCmdNoFlush( "ARTICLE %s", msgId ) )
         {
             retrievingFailed( msgId, "Connection broke down" );