From: oes Date: Tue, 2 Apr 2002 16:12:47 +0000 (+0000) Subject: Fix: moving misplaced lines into #ifdef FEATURE_FORCE X-Git-Tag: v_2_9_14~258 X-Git-Url: http://www.privoxy.org/gitweb/@default-cgi@/faq/%22https:/@default-cgi@show-url-info?a=commitdiff_plain;h=9cab80b40992aa50dcbc2560129e89123a9e93fd;p=privoxy.git Fix: moving misplaced lines into #ifdef FEATURE_FORCE --- diff --git a/cgisimple.c b/cgisimple.c index 733c3500..c230054b 100644 --- a/cgisimple.c +++ b/cgisimple.c @@ -1,4 +1,4 @@ -const char cgisimple_rcs[] = "$Id: cgisimple.c,v 1.22 2002/03/24 16:18:15 jongfoster Exp $"; +const char cgisimple_rcs[] = "$Id: cgisimple.c,v 1.23 2002/03/26 22:29:54 swa Exp $"; /********************************************************************* * * File : $Source: /cvsroot/ijbswa/current/cgisimple.c,v $ @@ -36,6 +36,9 @@ const char cgisimple_rcs[] = "$Id: cgisimple.c,v 1.22 2002/03/24 16:18:15 jongfo * * Revisions : * $Log: cgisimple.c,v $ + * Revision 1.23 2002/03/26 22:29:54 swa + * we have a new homepage! + * * Revision 1.22 2002/03/24 16:18:15 jongfoster * Removing old logo * @@ -1114,8 +1117,10 @@ static jb_err show_defines(struct map *exports) #ifdef FEATURE_FORCE_LOAD if (!err) err = map_conditional(exports, "FEATURE_FORCE_LOAD", 1); + if (!err) err = map(exports, "FORCE_PREFIX", 1, FORCE_PREFIX, 1); #else /* ifndef FEATURE_FORCE_LOAD */ if (!err) err = map_conditional(exports, "FEATURE_FORCE_LOAD", 0); + if (!err) err = map(exports, "FORCE_PREFIX", 1, "(none - disabled)", 1); #endif /* ndef FEATURE_FORCE_LOAD */ #ifdef FEATURE_IMAGE_BLOCKING @@ -1190,8 +1195,6 @@ static jb_err show_defines(struct map *exports) if (!err) err = map_conditional(exports, "STATIC_PCRS", 0); #endif /* ndef STATIC_PCRS */ - if (!err) err = map(exports, "FORCE_PREFIX", 1, FORCE_PREFIX, 1); - return err; }