mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-10-31 22:25:33 -04:00
bluetooth: Fix incorrect error messages
err.message doesn't contain anything useful in these error cases so fix the mistake and avoid misleading messages.
This commit is contained in:
parent
00b5a0eb9f
commit
1c8fe4ad2f
1 changed files with 2 additions and 2 deletions
|
|
@ -975,7 +975,7 @@ static DBusHandlerResult filter_cb(DBusConnection *bus, DBusMessage *m, void *us
|
|||
bool old_any_connected = pa_bluetooth_device_any_audio_connected(d);
|
||||
|
||||
if (!dbus_message_iter_init(m, &arg_i)) {
|
||||
pa_log("Failed to parse PropertyChanged: %s", err.message);
|
||||
pa_log("Failed to parse PropertyChanged for device %s", d->path);
|
||||
goto fail;
|
||||
}
|
||||
|
||||
|
|
@ -1025,7 +1025,7 @@ static DBusHandlerResult filter_cb(DBusConnection *bus, DBusMessage *m, void *us
|
|||
goto fail;
|
||||
|
||||
if (!dbus_message_iter_init(m, &arg_i)) {
|
||||
pa_log("Failed to parse PropertyChanged: %s", err.message);
|
||||
pa_log("Failed to parse PropertyChanged for transport %s", t->path);
|
||||
goto fail;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue