[news.software.nntp] bug in NEWGROUPS command

jwelch@convex.cl.msu.edu (john welch) (08/02/90)

Hello, I have never posted a patch to this group, so here goes. I have been 
testing nntp.1.5.9 prior to installing it. I  located and patched a bug in the 
NEWGROUPS command. 

   The bug is that when you use the NEWGROUPS command the server dies and
the connection is broken. It turns out that this happens because of a blank 
line in the /usr/lib/news/active.times file. Removing the blank line fixed the 
immediate problem. 
     
    The following is a patch for newgroups.c. 

------beginning of diff file for newgroups.c--------------
81a82
> 
85d85
< 		
90d89
<                 if(cp==NULL) continue; /* ignore badly formatted lines */
------end of diff file-------------------------------------

I hope that this helpful to any others who have this annoying problem.
Before I go, could someone tell me how to get this patch into the next 
release?

Bye
--
John Welch                 internet:jwelch@convex.cl.msu.edu
301 Computer Center        Michigan State University  
A government that is big enough to give you all you want is big enough
to take it all away.  -- Barry Goldwater