Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Posting-Version: version B 2.10ggr 5/3/83; site pyuxmm.UUCP
Path: utzoo!linus!wivax!decvax!harpo!eagle!alice!rabbit!pyuxmm!ggr
From: ggr@pyuxmm.UUCP
Newsgroups: net.news.b
Subject: Another inews (2.10) bug fix
Message-ID: <476@pyuxmm.UUCP>
Date: Tue, 14-Jun-83 18:54:49 EDT
Article-I.D.: pyuxmm.476
Posted: Tue Jun 14 18:54:49 1983
Date-Received: Thu, 16-Jun-83 05:56:53 EDT
Organization: Bell Labs, Piscataway
Lines: 35

The symptoms of this one are that if you are running with AUTONEWNG
and an article arrives for a group new to that machine, the
article is inserted correctly into the local database, but if
the article happened to be a followup, it never gets distributed
to the machine's neighbors.  The changes below to inews.c
(don't trust the line numbers) fix this.
				=== Guy Riddle == BTL Piscataway ===

407c407
< 	if (!is_ctl && header.followid[0] == '\0')
---
> 	if (mode != PROC && !is_ctl && header.followid[0] == '\0')
635,644c635,645
< 			if (!exists(bfr)) {
< #ifdef AUTONEWNG
< 				mknewsg(bfr, ptr);
< #else
< 				getapproval(ptr);
< 				badgroup++;
< #endif
< 			}
< 			else
< 				goodgroup++;
---
> 			if (!exists(bfr)) {
> #ifdef AUTONEWNG
> 				mknewsg(bfr, ptr);
> 				goodgroup++;
> #else
> 				getapproval(ptr);
> 				badgroup++;
> #endif
> 			}
> 			else
> 				goodgroup++;