From:	MERC::"uunet!VM1.NoDak.EDU!ANU-NEWS" 22-JUL-1992 10:10:13.04
To:	Multiple recipients of list ANU-NEWS <ANU-NEWS@VM1.NoDak.EDU>
CC:	
Subj:	Log-file format patch for ANU 6.1a4

Here is a quickie diff that puts the machine we received the article from
(the first entry in the Path: header) into the log file along with the
Message-ID and other information.  It's sometimes _very_ handy to know
what machine an article came from.

  Bill

************
File DSKM:[NEWS.V61A4.NEWS_SRC]NEWSADD.C;212
  442     char recvfrom[50],*p;
  443
******
File DSKM:[NEWS.V61A4.NEWS_SRC]NEWSADD.C;211
  442
************
************
File DSKM:[NEWS.V61A4.NEWS_SRC]NEWSADD.C;212
  459     strncpy(recvfrom,itm[PATH],49);
  460     recvfrom[49]='\0';
  461     if (p=strchr(recvfrom,'!')) *p='\0';
  462
  463     strcpy(newsgroup,ng);
******
File DSKM:[NEWS.V61A4.NEWS_SRC]NEWSADD.C;211
  458     strcpy(newsgroup,ng);
************
************
File DSKM:[NEWS.V61A4.NEWS_SRC]NEWSADD.C;212
  486     printf("Add %s %s %s",recvfrom,itm[MESSAGE_ID],newsgroup);
  487     if (!strcmp(newsgroup,"junk") && !junk_it) {
******
File DSKM:[NEWS.V61A4.NEWS_SRC]NEWSADD.C;211
  481     printf("Add %s %s",itm[MESSAGE_ID],newsgroup);
  482     if (!strcmp(newsgroup,"junk") && !junk_it) {
************

Number of difference sections found: 3
Number of difference records found: 6

DIFFERENCES /IGNORE=()/MERGED=1/OUTPUT=DSKM:[NEWS.V61A4.NEWS_SRC]RECVFROM.DIFF;1
-
    DSKM:[NEWS.V61A4.NEWS_SRC]NEWSADD.C;212-
    DSKM:[NEWS.V61A4.NEWS_SRC]NEWSADD.C;211
--
Bill Fenner                  fenner@cmf.nrl.navy.mil
