bluetooth: improve dbus logging

This commit is contained in:
João Paulo Rechi Vita 2010-01-29 10:59:33 -02:00 committed by Lennart Poettering
parent 323f0ad403
commit edf5f5be6b

View file

@ -293,9 +293,10 @@ static int parse_audio_property(pa_bluetooth_discovery *u, int *state, DBusMessa
const char *value;
dbus_message_iter_get_basic(&variant_i, &value);
if (pa_streq(key, "State"))
if (pa_streq(key, "State")) {
*state = pa_bt_audio_state_from_string(value);
/* pa_log_debug("Value %s", value); */
pa_log_debug("dbus: property 'State' changed to value '%s'", value);
}
break;
}