Return-Path: owner-inn-workers-outgoing@vix.com
Received: from gw.home.vix.com (gw.home.vix.com [192.5.5.1]) by math.psu.edu (8.8.3/8.7.3) with ESMTP id VAA12445 for <barr@math.psu.edu>; Thu, 19 Dec 1996 21:20:39 -0500 (EST)
Received: by gw.home.vix.com; id SAA09776; Thu, 19 Dec 1996 18:20:24 -0800 (PST)
X-btw: vix.com is also gw.home.vix.com and vixie.sf.ca.us
Received: by gw.home.vix.com; id SAA09771; Thu, 19 Dec 1996 18:20:22 -0800 (PST)
Received: (from jpc@localhost)
          by hammer.msfc.nasa.gov (8.8.4/8.8.4)
	  id UAA26188 for inn-workers@vix.com; Thu, 19 Dec 1996 20:19:56 -0600 (CST)
From: "J. Porter Clark" <jpc@drum.msfc.nasa.gov>
Message-Id: <199612200219.UAA26188@hammer.msfc.nasa.gov>
Subject: Slight patch to make canceling nonexistent articles work better
To: inn-workers@vix.com (INN-workers)
Date: Thu, 19 Dec 1996 20:19:56 -0600 (CST)
X-Mailer: ELM [version 2.4ME+ PL28 (25)]
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Sender: owner-inn-workers@vix.com
Precedence: bulk

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       jpc@drum.msfc.nasa.gov
NASA/MSFC/EB33        (205)544-3661
Huntsville, AL 35812  FAX: (205)544-9582
