diff src/client.c @ 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 05f50c1761d9
children 3c71e28c8eef
line wrap: on
line diff
--- 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" );