diff src/fetch.c @ 102:38b0a1532a37 noffle

[svn] Only track remote message no when subscribed
author bears
date Mon, 05 Jun 2000 09:57:05 +0100
parents 28aeb0b93509
children 05f50c1761d9
line wrap: on
line diff
--- a/src/fetch.c	Mon May 29 17:35:01 2000 +0100
+++ b/src/fetch.c	Mon Jun 05 09:57:05 2000 +0100
@@ -1,7 +1,7 @@
 /*
   fetch.c
 
-  $Id: fetch.c 85 2000-05-14 07:12:23Z enz $
+  $Id: fetch.c 135 2000-06-05 08:57:05Z bears $
 */
 
 #if HAVE_CONFIG_H
@@ -77,7 +77,7 @@
 void
 Fetch_getNewArts( const char *name, FetchMode mode )
 {
-    int next, first, last, oldLast;
+    int next, first, last;
 
     if ( ! Client_changeToGrp( name ) )
     {
@@ -87,7 +87,8 @@
     Cont_read( name );
     Client_rmtFirstLast( &first, &last );
     next = Grp_rmtNext( name );
-    oldLast = Cont_last();
+    if ( next == GRP_RMT_NEXT_NOT_SUBSCRIBED )
+	next = first;
     if ( next == last + 1 )
     {
         Log_inf( "No new articles in %s", name );