* Fix some issues with uClibc.

This commit is contained in:
Justin Maggard
2009-10-28 07:44:45 +00:00
parent f36047098c
commit 41f204029b
8 changed files with 31 additions and 7 deletions

View File

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