Subject: Slight patch to make canceling nonexistent articles work better
From: "J. Porter Clark" <[email-masked]>
To: [email-masked] (INN-workers)
Date: Thu, 19 Dec 1996 20:19:56 -0600 (CST)

Here's a tiny patch to INN-1.5.1 to make the arrival date for articles
that were canceled (typically by 'ctlinnd cancel') be the same as the
current time.  This is, I think, superior to the current behavior,
which (for me, anyway) seems to put some unpredictable value in there.

I can't imagine this breaking anything (famous last words)...

*** innd/cc.c.orig	Thu Dec 19 20:11:36 1996
--- innd/cc.c	Thu Dec 19 20:12:21 1996
***************
*** 410,416 ****
      ARTDATA	Data;
      STRING	p;
  
!     Data.Posted = Now.time;
      Data.Expires = 0;
      Data.Feedsite = "?";
      if ((p = CCgetid(av[0], &Data.MessageID)) != NULL)
--- 410,416 ----
      ARTDATA	Data;
      STRING	p;
  
!     Data.Posted = Data.Arrived = Now.time;
      Data.Expires = 0;
      Data.Feedsite = "?";
      if ((p = CCgetid(av[0], &Data.MessageID)) != NULL)

-- 
J. Porter Clark       [email-masked]
NASA/MSFC/EB33        (205)544-3661
Huntsville, AL 35812  FAX: (205)544-9582