* Fix some issues with uClibc.
This commit is contained in:
@ -301,6 +301,8 @@ set_filter_flags(char * filter)
|
||||
item = strtok_r(filter, ",", &saveptr);
|
||||
while( item != NULL )
|
||||
{
|
||||
if( saveptr )
|
||||
*(saveptr-1) = ',';
|
||||
if( strcmp(item, "@childCount") == 0 )
|
||||
{
|
||||
flags |= FILTER_CHILDCOUNT;
|
||||
@ -400,8 +402,6 @@ set_filter_flags(char * filter)
|
||||
flags |= FILTER_RES;
|
||||
flags |= FILTER_RES_SIZE;
|
||||
}
|
||||
if( *saveptr )
|
||||
*(saveptr-1) = ',';
|
||||
item = strtok_r(NULL, ",", &saveptr);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user