ares_init: fix detection of semicolon comments in resolv.conf
authorYang Tse <yangsita@gmail.com>
Fri, 10 Dec 2010 20:19:51 +0000 (21:19 +0100)
committerYang Tse <yangsita@gmail.com>
Fri, 10 Dec 2010 20:19:51 +0000 (21:19 +0100)
commitb2dafb6974da4f3b80dda3bd343989157d8c36a0
treeef423d62792967aadbc0cf4cefd4ea4865395079
parent0b497f70e19511a73d365a5c3c8c236343165d90
ares_init: fix detection of semicolon comments in resolv.conf

File resolv.conf may either use a hash '#' or a semicolon ';' character as an
indication that the rest of the line is a comment.  This fixes not recognizing
the semicolon as a valid comment indicator in resolv.conf.
CHANGES
RELEASE-NOTES
ares_init.c