From: hno <> Date: Wed, 3 May 2000 04:34:46 +0000 (+0000) Subject: Fixed a small patch merge error X-Git-Tag: SQUID_3_0_PRE1~1993 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=22ff529943a67186fad61066fd6cf5df14eb5366;p=thirdparty%2Fsquid.git Fixed a small patch merge error --- diff --git a/src/dns_internal.cc b/src/dns_internal.cc index 542caf0e0b..6d62d0da7f 100644 --- a/src/dns_internal.cc +++ b/src/dns_internal.cc @@ -1,6 +1,6 @@ /* - * $Id: dns_internal.cc,v 1.21 2000/05/02 21:04:01 hno Exp $ + * $Id: dns_internal.cc,v 1.22 2000/05/02 22:34:46 hno Exp $ * * DEBUG: section 78 DNS lookups; interacts with lib/rfc1035.c * AUTHOR: Duane Wessels @@ -139,6 +139,8 @@ idnsParseResolvConf(void) } while (fgets(buf, 512, fp)) { t = strtok(buf, w_space); + if (NULL == t) + continue; if (strcasecmp(t, "nameserver") == 0) { t = strtok(NULL, w_space); if (t == NULL)