🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nn
Article #5697

Re: NN 6.5.0 beta 3 problem with article_number?

#5697
From: Jim Jagielski
Date: Thu, 14 Apr 1994 11:24
34 lines
2009 bytes
jbn@owens.slip.uiuc.edu (J.B. Nicholson-Owens) writes:

>In nntp.c, has anyone had a problem compiling this line:

>  article_number *first, *last;

>from this segment of code (from function nntp_get_overview):

>  #ifdef NOV

>  /*
>  ** Prime the nntp server to snarf the overview file for a newsgroup.
>  ** Sends the XOVER command and prepares to read the result.
>  */
>  struct novgroup *
>  nntp_get_overview(gh, first, last)
>  group_header *gh;
>  article_number *first, *last;
>  {
>    int n;

>I keep getting an error that arguments `first' and `last' don't match
>prototype.

Yep... You need to edit global.h to change the prototypes of 'first' and 'last'
from "int" to "article_number"...

After that, it should compile fine.
--
#include <std/disclaimer.h>
    Jim Jagielski               |  "Is this something you can share with
    jim@jagubox.gsfc.nasa.gov   |   the rest of us Amazing Larry!!??"
    NASA/GSFC, Code 734.4       |                  Pee Wee
    Greenbelt, MD 20771         |
Technical Details
Message-ID: <3080@jagubox.gsfc.nasa.gov>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.nn.mbox.zip!gmd.de!nntp.gmd.de!dearn! xlink.net!fauern!news.th-darmstadt.de!terra.wiwi.uni-frankfurt.de!zeus.rbi.informatik.uni-frankfurt.de!news.dfn.de!darwin.sura.net!gatech!swrinde!ihnp4.ucsd.edu!ames!newsfeed.gsfc.nasa.gov!jagubox!jim
References: <jbn.766265515@owens.slip.uiuc.edu>

Show Full Headers
Complete Article Headers
Message-ID: <3080@jagubox.gsfc.nasa.gov>
Subject: Re: NN 6.5.0 beta 3 problem with article_number?
Date: Thu, 14 Apr 1994 11:24:32 +0000
From: jim@jagubox.gsfc.nasa.gov (Jim Jagielski)
References: <jbn.766265515@owens.slip.uiuc.edu>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.nn.mbox.zip!gmd.de!nntp.gmd.de!dearn! xlink.net!fauern!news.th-darmstadt.de!terra.wiwi.uni-frankfurt.de!zeus.rbi.informatik.uni-frankfurt.de!news.dfn.de!darwin.sura.net!gatech!swrinde!ihnp4.ucsd.edu!ames!newsfeed.gsfc.nasa.gov!jagubox!jim
Newsgroups: news.software.nn
Organization: NASA/Goddard Space Flight Center
Lines: 34
Reply-To: jim@jagubox.gsfc.nasa.gov (Jim Jagielski)
NNTP-Posting-Host: jagubox.gsfc.nasa.gov
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit