mirror of
https://github.com/reactos/reactos.git
synced 2025-04-25 08:00:24 +00:00
- ipv4addrs should search for decimals not spaces when calling strtok. See bug 3962 for more info.
svn path=/trunk/; revision=38346
This commit is contained in:
parent
82cffd5af5
commit
10d052aa36
1 changed files with 1 additions and 1 deletions
|
@ -2056,7 +2056,7 @@ ipv4addrs(char * buf)
|
||||||
note("Input: %s", buf);
|
note("Input: %s", buf);
|
||||||
|
|
||||||
do {
|
do {
|
||||||
tmp = strtok(buf, " ");
|
tmp = strtok(buf, ".");
|
||||||
note("got %s", tmp);
|
note("got %s", tmp);
|
||||||
if( tmp && inet_aton(tmp, &jnk) ) i++;
|
if( tmp && inet_aton(tmp, &jnk) ) i++;
|
||||||
buf = NULL;
|
buf = NULL;
|
||||||
|
|
Loading…
Reference in a new issue