* Handle whitespace between filter args.

This commit is contained in:
Justin Maggard 2010-03-17 23:28:37 +00:00
parent 538379f99d
commit 9c83541dc6

View File

@ -304,6 +304,8 @@ set_filter_flags(char * filter)
{ {
if( saveptr ) if( saveptr )
*(item-1) = ','; *(item-1) = ',';
while( isspace(*item) )
item++;
if( strcmp(item, "@childCount") == 0 ) if( strcmp(item, "@childCount") == 0 )
{ {
flags |= FILTER_CHILDCOUNT; flags |= FILTER_CHILDCOUNT;