if (speeds != NULL) {
int i;
- g_string_append_printf (str, "DLNA.ORG_PS=;");
+ g_string_append (str, "DLNA.ORG_PS=");
for (i = 0; speeds[i]; i++) {
g_string_append (str, speeds[i]);
if (speeds[i + 1])
g_string_append_c (str, ',');
}
+ g_string_append_c (str, ';');
}
conversion = gupnp_protocol_info_get_dlna_conversion (info);