aboutsummaryrefslogtreecommitdiff
path: root/ares
diff options
context:
space:
mode:
Diffstat (limited to 'ares')
-rw-r--r--ares/ares_init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ares/ares_init.c b/ares/ares_init.c
index c40afdad8..70f455361 100644
--- a/ares/ares_init.c
+++ b/ares/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)