Fix delim issue on tokenize

This commit is contained in:
lakinduakash 2019-04-15 04:13:30 +05:30
parent 077e384678
commit 4a9322ce14

View File

@ -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++;
}