From 7c64eb10ac161f4fab865f21b06698121f2dd25d Mon Sep 17 00:00:00 2001 From: Justin Maggard Date: Sun, 3 May 2009 18:31:53 +0000 Subject: [PATCH] * Put the commas back in when parsing the filter args, so the log contains the actual args sent by the client, instead of just the first one. --- upnpsoap.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/upnpsoap.c b/upnpsoap.c index 3f2e407..c66ad6a 100644 --- a/upnpsoap.c +++ b/upnpsoap.c @@ -332,6 +332,8 @@ set_filter_flags(char * filter) flags |= FILTER_RES; flags |= FILTER_RES_SIZE; } + if( *saveptr ) + *(saveptr-1) = ','; item = strtok_r(NULL, ",", &saveptr); }