]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
compile bugs
authorwessels <>
Thu, 27 May 1999 08:42:31 +0000 (08:42 +0000)
committerwessels <>
Thu, 27 May 1999 08:42:31 +0000 (08:42 +0000)
src/cache_cf.cc
src/store_rebuild.cc

index ed095322b40018f3ac94ab92bca17b15baca1b5e..a36f0b1b41802adc3388523e0de66b5b31e80eaf 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- * $Id: cache_cf.cc,v 1.331 1999/05/26 20:41:18 wessels Exp $
+ * $Id: cache_cf.cc,v 1.332 1999/05/27 02:42:31 wessels Exp $
  *
  * DEBUG: section 3     Configuration File Parsing
  * AUTHOR: Harvest Derived
@@ -805,8 +805,10 @@ parse_cachedir(cacheSwap * swap)
        self_destruct();
     if (0 == strcasecmp(type_str, "ufs")) {
        storeUfsDirParse(swap);
+#if USE_ASYNC_IO
     } else if (0 == strcasecmp(type_str, "asyncufs")) {
        storeAufsDirParse(swap);
+#endif
     } else {
        fatalf("Unknown cache_dir type '%s'\n", type_str);
     }
index 26c4233564b530e703f5d1b352f2f80718afe253..a3c2a64ea8eff31dce7f4fe18159451eecee56d0 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- * $Id: store_rebuild.cc,v 1.64 1999/05/26 04:58:52 wessels Exp $
+ * $Id: store_rebuild.cc,v 1.65 1999/05/27 02:42:32 wessels Exp $
  *
  * DEBUG: section 20    Store Rebuild Routines
  * AUTHOR: Duane Wessels
@@ -47,7 +47,7 @@ storeCleanupDoubleCheck(const StoreEntry * e)
     int dirn = e->swap_file_number >> SWAP_DIR_SHIFT;
     if (Config.cacheSwap.swapDirs[dirn].type == SWAPDIR_UFS)
        (void) 0;
-    if (Config.cacheSwap.swapDirs[dirn].type == SWAPDIR_UFS_ASYNC)
+    if (Config.cacheSwap.swapDirs[dirn].type == SWAPDIR_ASYNCUFS)
        (void) 0;
     else
        return 0;