From: wessels <> Date: Tue, 22 Oct 1996 09:36:32 +0000 (+0000) Subject: - Fixed changing the wrong instance of 'opt_catch_signals' X-Git-Tag: SQUID_3_0_PRE1~5622 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=4a69c1631bb501aca12383d4590d82d67a00580c;p=thirdparty%2Fsquid.git - Fixed changing the wrong instance of 'opt_catch_signals' in tools.c for beta8tools.c for beta8 --- diff --git a/src/tools.cc b/src/tools.cc index 4299a340fd..d91174b3ad 100644 --- a/src/tools.cc +++ b/src/tools.cc @@ -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); }