summaryrefslogtreecommitdiff
path: root/ares_init.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2004-02-25 06:37:42 +0000
committerDaniel Stenberg <daniel@haxx.se>2004-02-25 06:37:42 +0000
commit45efb3cc7338c52dca9078035021f7695b224d5b (patch)
treefe1da390a86dfdda2c9ee4b3cbb20e4dc2dcb1e3 /ares_init.c
parent74d3b56a0fea5abecd322ab77d3ead18a3808def (diff)
downloadc-ares-45efb3cc7338c52dca9078035021f7695b224d5b.tar.gz
c-ares-45efb3cc7338c52dca9078035021f7695b224d5b.tar.bz2
c-ares-45efb3cc7338c52dca9078035021f7695b224d5b.zip
Dan Fandrich fixed a minor flaw in Dominick's fix!
Diffstat (limited to 'ares_init.c')
-rw-r--r--ares_init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ares_init.c b/ares_init.c
index c40afda..70f4553 100644
--- a/ares_init.c
+++ b/ares_init.c
@@ -603,7 +603,7 @@ static int config_nameserver(struct server_state **servers, int *nservers,
while (more)
{
more = 0;
- while (*p && !isspace(*p) && *str != ',')
+ while (*p && !isspace(*p) && *p != ',')
p++;
if (*p)