INN commit: trunk/innd (art.c)

INN Commit rra at isc.org
Sun Feb 7 19:12:39 UTC 2010


    Date: Sunday, February 7, 2010 @ 11:12:39
  Author: iulius
Revision: 8954

Variable ARTpathme is filled but not used anywhere.

It was used in INN 2.3 so as not to process ihave and sendme
control messages we sent ourselves.

Patch from Heiko Schlichting.

Modified:
  trunk/innd/art.c

-------+
 art.c |    5 -----
 1 file changed, 5 deletions(-)

Modified: art.c
===================================================================
--- art.c	2010-02-07 19:08:56 UTC (rev 8953)
+++ art.c	2010-02-07 19:12:39 UTC (rev 8954)
@@ -68,7 +68,6 @@
 */
 static char	ARTctl[] = "control";
 static char	ARTjnk[] = "junk";
-static char	*ARTpathme;
 
 /*
 **  Flag array, indexed by character.  Character classes for hostnames.
@@ -264,10 +263,6 @@
   ARTheadertree = ARTbuildtree(table, 0, ARRAY_SIZE(ARTheaders));
   free(table);
 
-  /* Get our Path name, kill trailing! */
-  ARTpathme = xstrdup(Path.data);
-  ARTpathme[Path.used - 1] = '\0';
-
   /* Set up database; ignore errors. */
   ARTreadschema();
 }




More information about the inn-committers mailing list