]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
compiler warning
authorwessels <>
Fri, 29 May 1998 05:00:05 +0000 (05:00 +0000)
committerwessels <>
Fri, 29 May 1998 05:00:05 +0000 (05:00 +0000)
src/cf_gen.cc

index 2702e66b7eca7a8c8f791dee40a12bc692b0d379..423ac1e201938c3e240f2669ab9f74386e8426ab 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * $Id: cf_gen.cc,v 1.22 1998/05/28 22:57:08 wessels Exp $
+ * $Id: cf_gen.cc,v 1.23 1998/05/28 23:00:05 wessels Exp $
  *
  * DEBUG: none
  * AUTHOR: Max Okumoto
@@ -132,7 +132,7 @@ main(int argc, char *argv[])
        if (NULL == fgets(buff, MAX_LINE, fp))
            break;
        linenum++;
-       if (t = strchr(buff, '\n'))
+       if ((t = strchr(buff, '\n')))
            *t = '\0';
        switch (state) {
        case sSTART: