Dan Fandrich fixed a minor flaw in Dominick's fix!
authorDaniel Stenberg <daniel@haxx.se>
Wed, 25 Feb 2004 06:37:42 +0000 (06:37 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Wed, 25 Feb 2004 06:37:42 +0000 (06:37 +0000)
ares/ares_init.c

index c40afda..70f4553 100644 (file)
@@ -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)