From:	ADVAX::"mcnc!VM1.NoDak.EDU!gih900%SAO.AARNET.EDU.AU0" 26-JUN-1990 09:58:36.75
To:	Multiple recipients of list ANU-NEWS <ANU-NEWS@NDSUVM1>
CC:	
Subj:	Re: Bug in V6 R3 CANCEL command

Received: by ADVAX.DECnet (utk-mail11 v1.5) ; Tue, 26 Jun 90 10:02:04 EDT
Received:  from mcnc by ge-dab.GE.COM (5.61/GE-DAB 1.12) with UUCP
	id AA01793 for everhart; Tue, 26 Jun 90 10:01:55 -0400
Received: from VM1.NoDak.EDU by mcnc.mcnc.org (5.59/MCNC/5-16-88)
	id AA02816; Tue, 26 Jun 90 08:37:03 EDT
Message-Id: <9006261237.AA02816@mcnc.mcnc.org>
Received: from NDSUVM1.BITNET by VM1.NoDak.EDU (IBM VM SMTP R1.2.1MX) with BSMTP id 4507; Tue, 26 Jun 90 07:36:46 CDT
Received: from NDSUVM1.BITNET by NDSUVM1.BITNET (Mailer R2.07) with BSMTP id
 4498; Tue, 26 Jun 90 07:36:45 CDT
Date:         Tue, 26 Jun 90 00:43:23 GMT
Reply-To: mcnc!VM1.NoDak.EDU!gih900%SAO.AARNET.EDU.AU0
Sender: ANU-NEWS Discussion <ANU-NEWS@VM1.NoDak.EDU>
From: mcnc!VM1.NoDak.EDU!gih900%SAO.AARNET.EDU.AU0
Subject:      Re: Bug in V6 R3 CANCEL command
To: Multiple recipients of list ANU-NEWS <ANU-NEWS@NDSUVM1>
 
> I "fixed" the problem by doing a test of nntp_client before looking up the
> moderator_address and commenting out the strcmp(inpline,m_a) and its "}". It
> really should be fixed properly so that the code works right in server mode as
> well, but I jsut was looking for a quick patch.
>
>                                       R. Kevin Oberman
Beat me to the keyboard - yes that is the problem, and I have made a similar
fix:
 
static int
dcncl()
{
  ...
 
  strcpy(mail_cfrom,mail_from);
  lower_case(mail_cfrom);
  if (m_a = moderator_address(ga[curr_g]->grp_name)) lower_case(m_a);
  strcpy(inpline,mail_sig);
  lower_case(inpline);
  if (!m_a || strcmp(inpline,m_a)) {
    ....
}
 
 
Geoff Huston
