From: wessels <> Date: Fri, 5 Jun 1998 01:14:19 +0000 (+0000) Subject: use fatal_dump instead of fatal X-Git-Tag: SQUID_3_0_PRE1~3177 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=2b19063a00f246c8226a2c77fa0372a007041d27;p=thirdparty%2Fsquid.git use fatal_dump instead of fatal --- diff --git a/src/ipcache.cc b/src/ipcache.cc index db15c6a1b2..812fa5bbe4 100644 --- a/src/ipcache.cc +++ b/src/ipcache.cc @@ -1,6 +1,6 @@ /* - * $Id: ipcache.cc,v 1.190 1998/06/01 21:13:28 wessels Exp $ + * $Id: ipcache.cc,v 1.191 1998/06/04 19:14:19 wessels Exp $ * * DEBUG: section 14 IP Cache * AUTHOR: Harvest Derived @@ -229,8 +229,10 @@ static void ipcache_release(ipcache_entry * i) { hash_link *table_entry = NULL; - if ((table_entry = hash_lookup(ip_table, i->name)) == NULL) - fatalf("ipcache_release: key '%s' not found\n", i->name); + if ((table_entry = hash_lookup(ip_table, i->name)) == NULL) { + snprintf(tmp_error_buf, ERROR_BUF_SZ, "ipcache_release: key '%s' not found\n", i->name); + fatal_dump(tmp_error_buf); + } assert(i == (ipcache_entry *) table_entry); if (i->locks) { i->expires = squid_curtime;