]> git.ipfire.org Git - thirdparty/squid.git/commit - src/dns_internal.cc
Bug #2739: DNS resolver option ndots can't be parsed from resolv.conf
authorHenrik Nordstrom <henrik@henriknordstrom.net>
Sat, 8 Aug 2009 22:08:34 +0000 (00:08 +0200)
committerHenrik Nordstrom <henrik@henriknordstrom.net>
Sat, 8 Aug 2009 22:08:34 +0000 (00:08 +0200)
commit2c2da7d3c479c7910b45d2de413cee57d0058d6b
tree5c9c2ab3d1392c049efe578378b16224c7500ec2
parente38c772451eccc5006bc6a8871e39ee7ebb9d426
Bug #2739: DNS resolver option ndots can't be parsed from resolv.conf
Author: Cloyce <cloyce.spradling@sun.com>

A small logic error (probably a typo) in dns_internal.cc prevents squid from
properly reading the ndots option from resolv.conf.

The attached trivial patch fixes the problem.
src/dns_internal.cc