From ef4271cb8317b025aacc01c3053e488687f15a75 Mon Sep 17 00:00:00 2001 From: Justin Maggard Date: Fri, 30 Oct 2009 17:57:27 +0000 Subject: [PATCH] * Fix bug with filter processing, which was introduced by recent uClibc changes. --- upnpsoap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/upnpsoap.c b/upnpsoap.c index 9384be0..94878a1 100644 --- a/upnpsoap.c +++ b/upnpsoap.c @@ -302,7 +302,7 @@ set_filter_flags(char * filter) while( item != NULL ) { if( saveptr ) - *(saveptr-1) = ','; + *(item-1) = ','; if( strcmp(item, "@childCount") == 0 ) { flags |= FILTER_CHILDCOUNT;