From rsalz@uunet.uu.net Sat Aug 27 12:25:58 EDT 1994
Article: 5265 of news.software.nntp
Path: news.pop.psu.edu!news.cac.psu.edu!howland.reston.ans.net!europa.eng.gtefsd.com!MathWorks.Com!solaris.cc.vt.edu!uunet!not-for-mail
From: rsalz@uunet.uu.net (Rich Salz)
Newsgroups: news.software.nntp
Subject: Re: INN: "stat <asd>" returns "223 0 status <asd>"
Date: 27 Aug 1994 09:25:49 -0400
Organization: UUNET Technologies Inc, Falls Church, VA, USA
Lines: 39
Message-ID: <33nest$ofj@rodan.UU.NET>
References: <rantapaa.777955148@s6.math.umn.edu>
NNTP-Posting-Host: rodan.uu.net

In <rantapaa.777955148@s6.math.umn.edu> rantapaa@s6.math.umn.edu (Erik E. Rantapaa) writes:
>200 satelnet.org InterNetNews NNRP server INN 1.4 20-Mar-93 ready (posting ok).
>stat <asd>
>223 0 status <asd>

The following (in 1.5) fixes it:
===================================================================
RCS file: RCS/article.c,v
retrieving revision 1.13
diff -c -r1.13 article.c
*** 1.13	1993/03/18 21:04:40
--- article.c	1993/07/13 12:24:30
***************
*** 202,207 ****
--- 202,208 ----
      if ((qp = QIOopen(p, QIO_BUFFER)) == NULL)
  	return NULL;
      CloseOnExec(QIOfileno(qp), TRUE);
+     p += strlen(_PATH_SPOOL) + 1;
      if ((q = strrchr(p, '/')) != NULL)
  	*q++ = '\0';
      if (GRPlast[0] && EQ(p, GRPlast))
***************
*** 336,342 ****
  
      /* Get the reply; article exist? */
      if (fgets(buff, sizeof buff, FromServer) == NULL
!      || atoi(buff) == NNTP_DONTHAVEIT_VAL)
  	goto QuitClose;
  
      /* Yes.  Be quick if just doing a stat. */
--- 337,343 ----
  
      /* Get the reply; article exist? */
      if (fgets(buff, sizeof buff, FromServer) == NULL
!      || atoi(buff) != NNTP_NOTHING_FOLLOWS_VAL)
  	goto QuitClose;
  
      /* Yes.  Be quick if just doing a stat. */


