From: wessels <> Date: Tue, 6 Jan 1998 09:47:14 +0000 (+0000) Subject: assert dns_error_message exists for COMM_ERR_DNS callbacks X-Git-Tag: SQUID_3_0_PRE1~4246 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a64c28698950c3943550edf395db2c40af880db0;p=thirdparty%2Fsquid.git assert dns_error_message exists for COMM_ERR_DNS callbacks --- diff --git a/src/comm.cc b/src/comm.cc index 6bb8b74d57..f2f1e02406 100644 --- a/src/comm.cc +++ b/src/comm.cc @@ -1,6 +1,6 @@ /* - * $Id: comm.cc,v 1.220 1998/01/05 21:18:13 wessels Exp $ + * $Id: comm.cc,v 1.221 1998/01/06 02:47:14 wessels Exp $ * * DEBUG: section 5 Socket Functions * AUTHOR: Harvest Derived @@ -328,6 +328,7 @@ commConnectDnsHandle(const ipcache_addrs * ia, void *data) cs->locks--; if (ia == NULL) { debug(5, 3) ("commConnectDnsHandle: Unknown host: %s\n", cs->host); + assert(dns_error_message != NULL); commConnectCallback(cs, COMM_ERR_DNS); return; }