]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
- Fixed changing the wrong instance of 'opt_catch_signals'
authorwessels <>
Tue, 22 Oct 1996 09:36:32 +0000 (09:36 +0000)
committerwessels <>
Tue, 22 Oct 1996 09:36:32 +0000 (09:36 +0000)
          in tools.c for beta8tools.c for beta8

src/tools.cc

index 4299a340fd5f8490483247b136d5b4167c407119..d91174b3ad7d327ecc1970c738cc8f357bdf8f60 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- * $Id: tools.cc,v 1.75 1996/10/19 00:13:24 wessels Exp $
+ * $Id: tools.cc,v 1.76 1996/10/22 03:36:32 wessels Exp $
  *
  * DEBUG: section 21    Misc Functions
  * AUTHOR: Harvest Derived
@@ -344,7 +344,7 @@ fatal_dump(char *message)
 {
     if (message)
        fatal_common(message);
-    if (!opt_catch_signals)
+    if (opt_catch_signals)
        storeWriteCleanLog();
     abort();
 }
@@ -353,7 +353,7 @@ fatal_dump(char *message)
 void
 _debug_trap(char *message)
 {
-    if (opt_catch_signals)
+    if (!opt_catch_signals)
        fatal_dump(message);
     _db_print(0, 0, "WARNING: %s\n", message);
 }