From 780ba31dd6539e86f402d29f26acdfd01006f28a Mon Sep 17 00:00:00 2001 From: Fabian Keil Date: Sun, 16 Nov 2014 18:43:48 +0000 Subject: [PATCH] Make the FORCE_PREFIX define always visible Fixes a compile error when configured with --disable-force in which case the define is still required for the show-status page. Reported by Kai Raven. --- project.h | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/project.h b/project.h index 3f9b5f18..5530bf55 100644 --- a/project.h +++ b/project.h @@ -1,7 +1,7 @@ #ifndef PROJECT_H_INCLUDED #define PROJECT_H_INCLUDED /** Version string. */ -#define PROJECT_H_VERSION "$Id: project.h,v 1.207 2014/07/25 11:55:11 fabiankeil Exp $" +#define PROJECT_H_VERSION "$Id: project.h,v 1.208 2014/11/12 12:00:41 fabiankeil Exp $" /********************************************************************* * * File : $Source: /cvsroot/ijbswa/current/project.h,v $ @@ -1365,10 +1365,9 @@ struct configuration_spec /** Calculates the number of elements in an array, using sizeof. */ #define SZ(X) (sizeof(X) / sizeof(*X)) -#ifdef FEATURE_FORCE_LOAD -/** The force load URL prefix. */ +/** The force load URL prefix. Not behind an ifdef because + * it's always used for the show-status page. */ #define FORCE_PREFIX "/PRIVOXY-FORCE" -#endif /* def FEATURE_FORCE_LOAD */ #ifdef FEATURE_NO_GIFS /** The MIME type for images ("image/png" or "image/gif"). */ -- 2.39.2