diff options
author | Justin Maggard <jmaggard@users.sourceforge.net> | 2011-02-17 22:15:03 +0300 |
---|---|---|
committer | Justin Maggard <jmaggard@users.sourceforge.net> | 2011-02-17 22:15:03 +0300 |
commit | 0d0af83b6077220f4c8bbd4d83733dfa0e7d75e4 (patch) | |
tree | cbcb1b116c106375cabdc534ab6e5998ce8087a6 | |
parent | 3141a210674059da5d2b45bdd16950db9f9290da (diff) |
* Fix bug in the last checkin whereby artist was always sent, even if it was not requested.
-rw-r--r-- | upnpsoap.c | 3 |
1 files changed, 0 insertions, 3 deletions
@@ -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); |