mirror of
https://github.com/lakinduakash/linux-wifi-hotspot.git
synced 2024-11-24 21:20:12 +00:00
Fix delim issue on tokenize
This commit is contained in:
parent
077e384678
commit
4a9322ce14
@ -227,7 +227,7 @@ char** get_interface_list(int *length){
|
||||
while (pch != NULL)
|
||||
{
|
||||
arr[i]=strdup(pch);
|
||||
pch = strtok (NULL, " ");
|
||||
pch = strtok (NULL, " \n");
|
||||
i++;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user