alg fixed
This commit is contained in:
parent
f8380b5835
commit
0c3db919a2
Binary file not shown.
|
@ -102,7 +102,7 @@ int alg(char *ptr) {
|
|||
p[pos].ptr = token;
|
||||
p[pos].len = strlen(token);
|
||||
++pos;
|
||||
token = simple_strtok((char *)NULL, delims); // Set ptr to NULL after the first call to continue tokenizing the same string
|
||||
token = simple_strtok((char *)NULL, delims);
|
||||
}
|
||||
|
||||
return pos;
|
||||
|
|
Loading…
Reference in New Issue