]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
fix defn of TRUE
authorwessels <>
Sun, 15 Sep 1996 14:05:09 +0000 (14:05 +0000)
committerwessels <>
Sun, 15 Sep 1996 14:05:09 +0000 (14:05 +0000)
src/cachemgr.cc

index 6891ed5fd3eefd5163e432bb9ca3d06aaf1920af..7a6f3c7b03d1a247b3a28bb5e434e95f90dd42be 100644 (file)
@@ -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
 #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;
 }