*** art.c Wed Mar 20 16:25:26 1996 --- art.c.orig Mon Mar 4 08:21:48 1996 *************** *** 1703,1709 **** STRING error; char ControlWord[SMBUF]; int ControlHeader; - BOOL LikeCancel; /* Preliminary clean-ups. */ article = &cp->In; --- 1703,1708 ---- *************** *** 1802,1815 **** continue; Data.Groupcount = i; ! if (HDR(_control)[0] != '\0') { ControlHeader = _control; ! } else if (HDR(_alsocontrol)[0] != '\0') { ControlHeader = _alsocontrol; ! } else { ControlHeader = -1; LikeNewgroup = FALSE; - LikeCancel = FALSE; } if (ControlHeader >= 0) { /* Nip off the first word into lowercase. */ --- 1801,1813 ---- continue; Data.Groupcount = i; ! if (HDR(_control)[0] != '\0') ControlHeader = _control; ! else if (HDR(_alsocontrol)[0] != '\0') ControlHeader = _alsocontrol; ! else { ControlHeader = -1; LikeNewgroup = FALSE; } if (ControlHeader >= 0) { /* Nip off the first word into lowercase. */ *************** *** 1821,1827 **** *p = '\0'; LikeNewgroup = EQ(ControlWord, "newgroup") || EQ(ControlWord, "rmgroup"); - LikeCancel = EQ(ControlWord, "cancel"); /* Control messages to "foo.ctl" are treated as if they were * posted to "foo". I should probably apologize for all the --- 1819,1824 ---- *************** *** 1831,1846 **** && *(p += j) == '.' && p[1] == 'c' && p[2] == 't' && p[3] == 'l') *p = '\0'; - } - - /* Dave's Extension...We aren't transmitting cancel messages now. */ - p = HDR(_supersedes); - if (*p) - LikeCancel = TRUE; - if (LikeCancel) { - (void)sprintf(buff, "%d This site completely ignores cancel messages.",NNTP_REJECTIT_VAL); - ARTreject(buff,article); - return(buff); } /* Loop over the newsgroups, see which ones we want, and get the --- 1828,1833 ----