From 41136ae17cfc9b5c40b70d7fb6c381706fc9979b Mon Sep 17 00:00:00 2001 From: Justin Maggard Date: Thu, 17 Feb 2011 19:15:03 +0000 Subject: [PATCH] * Fix bug in the last checkin whereby artist was always sent, even if it was not requested. --- upnpsoap.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/upnpsoap.c b/upnpsoap.c index 7414a7a..6e6b16c 100644 --- a/upnpsoap.c +++ b/upnpsoap.c @@ -744,9 +744,6 @@ callback(void *args, int argc, char **argv, char **azColName) memcpy(passed_args->resp+passed_args->size, &str_buf, ret+1); passed_args->size += ret; } - ret = snprintf(str_buf, 512, "<upnp:artist>%s</upnp:artist>", artist); - memcpy(passed_args->resp+passed_args->size, &str_buf, ret+1); - passed_args->size += ret; } if( album && (passed_args->filter & FILTER_UPNP_ALBUM) ) { ret = snprintf(str_buf, 512, "<upnp:album>%s</upnp:album>", album);