From 9c83541dc66004236b7834d76cdef71ff90a65b0 Mon Sep 17 00:00:00 2001 From: Justin Maggard Date: Wed, 17 Mar 2010 23:28:37 +0000 Subject: [PATCH] * Handle whitespace between filter args. --- upnpsoap.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/upnpsoap.c b/upnpsoap.c index 7909bda..bee739a 100644 --- a/upnpsoap.c +++ b/upnpsoap.c @@ -304,6 +304,8 @@ set_filter_flags(char * filter) { if( saveptr ) *(item-1) = ','; + while( isspace(*item) ) + item++; if( strcmp(item, "@childCount") == 0 ) { flags |= FILTER_CHILDCOUNT;