From:	CRDGW2::CRDGW2::MRGATE::"SMTP::VM1.NODAK.EDU::ANU-NEWS"  7-FEB-1991 19:43:54.74
To:	MRGATE::"ARISIA::EVERHART"
CC:	
Subj:	Re: Fix for ACCVIO in NEWSUTILITY.C for ANU-NEWS

Received:  by crdgw1.ge.com (5.57/GE 1.80)
	 id AA29735; Thu, 7 Feb 91 16:11:13 EST
Message-Id:  <9102072111.AA29735@crdgw1.ge.com>
Received: from NDSUVM1.BITNET by VM1.NoDak.EDU (IBM VM SMTP R1.2.1MX) with BSMTP id 2181; Thu, 07 Feb 91 15:09:14 CST
Received: from NDSUVM1.BITNET by NDSUVM1.BITNET (Mailer R2.07) with BSMTP id
 8366; Thu, 07 Feb 91 15:09:09 CST
Date:         Wed, 6 Feb 91 21:03:30 GMT
Reply-To: "William H. Glass" <glass%VIXVAX.MGI.COM@VM1.NoDak.EDU>
Sender: ANU-NEWS Discussion <ANU-NEWS@VM1.NoDak.EDU>
From: "William H. Glass" <glass%VIXVAX.MGI.COM@VM1.NoDak.EDU>
Subject:      Re: Fix for ACCVIO in NEWSUTILITY.C for ANU-NEWS
To: Multiple recipients of list ANU-NEWS <ANU-NEWS@ndsuvm1.GE.COM>

   I forgot to pass on another fix related to problems that occur
when using NEWS in NNTP CLIENT mode with a server that doesn't
support the XHDR command.  Again, here's a copy of some stuff that
I previously sent to Geoff:

________________________________________________________________________________

   The second change is in nntp_call in NEWSREMCLIENT.C.  This prevents the
client from timing out waiting for a response that will never come.  In
my case, the error was triggered by the server initialing giving a
"423 Invalid article number" response to a request for a header.

________________________________________________________________________________

  nc_resp = malloc(nc_malloc = ((nc_len = strlen(ibuf)) + 512));
  strcpy(nc_resp,ibuf);
  if ((respval / 100) != 2) {           /* new */
    *retbuf = nc_resp;                  /* new */
    return(respval);                    /* new */
    }                                   /* new */


--

William H. Glass                        Internet: glass@mgi.com
Management Graphics, Inc.               Phone:    +1 (612) 854-1220
1401 E. 79th Street
Minneapolis, MN  55425
