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:
Mikel Astiz 2013-01-11 11:07:43 +01:00 committed by Tanu Kaskinen
parent 00b5a0eb9f
commit 1c8fe4ad2f

View file

@ -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;
}