]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
- bug fixes
authorrousskov <>
Thu, 2 Apr 1998 01:02:19 +0000 (01:02 +0000)
committerrousskov <>
Thu, 2 Apr 1998 01:02:19 +0000 (01:02 +0000)
src/test_cache_digest.cc

index 98ac4869441d50e895d519f24796cb92aa1ce3b7..b2e46c5c298a1bb86fca986107b9646482b1b265 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- * $Id: test_cache_digest.cc,v 1.14 1998/04/01 17:53:59 rousskov Exp $
+ * $Id: test_cache_digest.cc,v 1.15 1998/04/01 18:02:19 rousskov Exp $
  *
  * AUTHOR: Alex Rousskov
  *
@@ -538,7 +538,7 @@ main(int argc, char *argv[])
        fis[i-1] = fileIteratorCreate(argv[i], swapStateReader);
     /* check that all files were found */
     for (i = 0; i < fi_count; ++i)
-       if (fis[i]) return -2;
+       if (!fis[i]) return -2;
     /* read prefix to get start-up contents of the peer cache */
     ready_time = -1;
     for (i = 1; i < fi_count; ++i) {