* Fix bug in the last checkin whereby artist was always sent, even if it was not requested.
This commit is contained in:
parent
8960e023e9
commit
41136ae17c
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user