From: wessels <> Date: Sun, 15 Sep 1996 14:05:09 +0000 (+0000) Subject: fix defn of TRUE X-Git-Tag: SQUID_3_0_PRE1~5792 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=42091310d63bb31457dfccc736d5019af829e2e7;p=thirdparty%2Fsquid.git fix defn of TRUE --- diff --git a/src/cachemgr.cc b/src/cachemgr.cc index 6891ed5fd3..7a6f3c7b03 100644 --- a/src/cachemgr.cc +++ b/src/cachemgr.cc @@ -1,6 +1,6 @@ /* - * $Id: cachemgr.cc,v 1.22 1996/09/15 05:04:14 wessels Exp $ + * $Id: cachemgr.cc,v 1.23 1996/09/15 08:05:09 wessels Exp $ * * DEBUG: Section 0 CGI Cache Manager * AUTHOR: Harvest Derived @@ -203,7 +203,7 @@ #define FALSE 0 #endif #ifndef TRUE -#define TRUE !FALSE +#define TRUE 1 #endif #define LF 10 @@ -353,7 +353,7 @@ makeword(char *line, char stop) ++x; y = 0; - while ((line[y++] = line[x++])); + while ((line[y++] = line[x++]) != '\0'); return word; }