while (*shost && (shost < e))
{
- while ((n < e) && (*n == ' ' || *n == '\t')) n++;
+ while ((n < e) && (*n == ' ' || *n == ',' || *n == '\t')) n++;
i = 0;
while (n < e && (*n != ',') && (*n != '\t'))
config->multi_n_hostname[config->nbmultihostname][i] = *n;
n++;i++;
}
+
if (i > 0)
{
config->multi_n_hostname[config->nbmultihostname][i] = 0;
config->nbmultihostname++;
if (config->nbmultihostname >= MAX_NBHOSTNAME) break;
}
+
+ shost = n;
}
if (config->nbmultihostname >= 1)