[INN-COMMITTERS] inn (5 files)

Russ Allbery Russ_Allbery at isc.org
Sun Sep 1 05:35:48 UTC 2002


    Date: Saturday, August 31, 2002 @ 22:35:47
  Author: rra
    Path: /dist1/cvs/isc/inn/inn

Modified: innd/art.c innd/cc.c innd/innd.c innd/status.c lib/getconfig.c

Store innconf->artcutoff in days rather than converting it to seconds in
the configuration parser.  This was the only value that we were converting
in the parser rather than storing the same as it was specified in inn.conf,
which makes parsing more complex.  Convert it to seconds in the one place
that it's used as such, in innd/art.c, and remove unnecessary multiplies
and divides in the various other places it's set or accessed.


-----------------+
 innd/art.c      |   16 ++++++++++------
 innd/cc.c       |   17 ++++++++---------
 innd/innd.c     |    4 ++--
 innd/status.c   |    4 ++--
 lib/getconfig.c |    6 +++---
 5 files changed, 25 insertions(+), 22 deletions(-)


More information about the inn-committers mailing list