From:	ADVAX::"mcnc!VM1.NoDak.EDU!fac2%DAYTON.SAIC.COM" "Earle Ake" 17-FEB-1991 09:59:00.61
To:	Multiple recipients of list ANU-NEWS <ANU-NEWS@NDSUVM1>
CC:	
Subj:	Re: Patch to NNTP_XMIT.C to get transfer stats

Received: by ADVAX.DECnet (utk-mail11 v1.5) ; Sun, 17 Feb 91 09:58:21 EST
Received:  from mcnc by ge-dab.GE.COM (5.61/GE-DAB 1.15) with UUCP
	id AA10407 for ; Sun, 17 Feb 91 09:41:36 -0500
Received: from VM1.NoDak.EDU by mcnc.mcnc.org (5.59/MCNC/6-11-90)
	id AA14157; Sun, 17 Feb 91 09:37:24 -0500
	for ARISIA.DNET.ge.com!EVERHART
Message-Id: <9102171437.AA14157@mcnc.mcnc.org>
Received: from NDSUVM1.BITNET by VM1.NoDak.EDU (IBM VM SMTP R1.2.1MX) with BSMTP id 7644; Sun, 17 Feb 91 08:38:56 CST
Received: from NDSUVM1.BITNET by NDSUVM1.BITNET (Mailer R2.07) with BSMTP id
 6030; Sun, 17 Feb 91 08:38:55 CST
Date:         Sat, 16 Feb 91 04:16:34 GMT
Reply-To: Earle Ake <mcnc!VM1.NoDak.EDU!fac2%DAYTON.SAIC.COM>
Sender: ANU-NEWS Discussion <ANU-NEWS@VM1.NoDak.EDU>
From: Earle Ake <mcnc!VM1.NoDak.EDU!fac2%DAYTON.SAIC.COM>
Subject:      Re: Patch to NNTP_XMIT.C to get transfer stats
To: Multiple recipients of list ANU-NEWS <ANU-NEWS@NDSUVM1>
 
In article <1991Feb15.154154.1511@dayton.saic.com>, fac2@dayton.saic.com (Earle
Ake) writes:
 
        When I inserted the new routine I changed my variable name I was using
in all but 1 place!  Oops!  One last correction:
 
> *** 1230,1235
>       fpl = fopen(logfile,"a+");
>       fprintf(fpl,"%s %s: nntpxmit: %s %d offered %d accepted %d rejected %d f
ailed %d expired\n",
>               datum, lhost, node, offered, accepted, rejected, failed, expired
);
>       fclose(fpl);
>       }
>     if (debugging) fclose(fpd);
> --- 1265,1276 -----
>       fpl = fopen(logfile,"a+");
>       fprintf(fpl,"%s %s: nntpxmit: %s\n  %d offered %d accepted %d rejected %
d failed %d expired\n",
>               datum, lhost, node, offered, accepted, rejected, failed, expired
);
> +     if (elapsed_time > 0) {
            ^^^^^^^^^^^^
 
            should be total_elapsed_time not elapsed_time
 
> +     if (total_elapsed_time > 0) {
 
 
--
_____________________________________________________________________________
             ____ ____    ___
Earle Ake   /___ /___/ / /     Science Applications International Corporation
           ____//   / / /__                 Dayton, Ohio
-----------------------------------------------------------------------------
Internet: fac2@dayton.saic.com             uucp: dayvb!fac2
