Blob Blame History Raw
diff -up inn-2.6.3/innd/art.c.fp inn-2.6.3/innd/art.c
--- inn-2.6.3/innd/art.c.fp	2019-02-07 16:02:22.000000000 +0100
+++ inn-2.6.3/innd/art.c	2020-09-11 14:24:21.055208612 +0200
@@ -77,10 +77,6 @@ static char	ARTjnk[] = "junk";
 static char             hostcclass[256];
 #define ARThostchar(c)  ((hostcclass[(unsigned char)(c)]) != 0)
 
-#if defined(DO_PERL) || defined(DO_PYTHON)
-const char	*filterPath;
-#endif /* DO_PERL || DO_PYTHON */
-
 /* Prototypes. */
 static void ARTerror(CHANNEL *cp, const char *format, ...)
     __attribute__((__format__(printf, 2, 3)));
@@ -2072,10 +2068,6 @@ ARTpost(CHANNEL *cp)
     }
   }
 
-#if defined(DO_PERL) || defined(DO_PYTHON)
-  filterPath = HDR(HDR__PATH);
-#endif /* DO_PERL || DO_PYHTON */
-
 #if defined(DO_PYTHON)
   TMRstart(TMR_PYTHON);
   filterrc = PYartfilter(data, article->data + data->Body,
diff -up inn-2.6.3/innd/python.c.fp inn-2.6.3/innd/python.c
--- inn-2.6.3/innd/python.c.fp	2019-02-07 16:02:22.000000000 +0100
+++ inn-2.6.3/innd/python.c	2020-09-11 14:23:46.143958961 +0200
@@ -60,7 +60,6 @@
 #include "innd.h"
 
 bool		PythonFilterActive;
-char		*filterPath;	/* This gets set in art.c. */
 PyObject	*PYFilterObject = NULL;
 PyObject	*PYFilterModule = NULL;