Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/azatoth/minidlna.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Maggard <jmaggard@users.sourceforge.net>2011-02-17 22:15:03 +0300
committerJustin Maggard <jmaggard@users.sourceforge.net>2011-02-17 22:15:03 +0300
commit0d0af83b6077220f4c8bbd4d83733dfa0e7d75e4 (patch)
treecbcb1b116c106375cabdc534ab6e5998ce8087a6
parent3141a210674059da5d2b45bdd16950db9f9290da (diff)
* Fix bug in the last checkin whereby artist was always sent, even if it was not requested.
-rw-r--r--upnpsoap.c3
1 files changed, 0 insertions, 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, "&lt;upnp:artist&gt;%s&lt;/upnp:artist&gt;", 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, "&lt;upnp:album&gt;%s&lt;/upnp:album&gt;", album);