diff options
author | Colin Guthrie <cguthrie@mandriva.org> | 2011-01-17 22:19:10 +0000 |
---|---|---|
committer | Colin Guthrie <cguthrie@mandriva.org> | 2011-01-17 22:19:10 +0000 |
commit | 8c0e3efbf8fcd500048b1c1b21d21a4ea8c09fd3 (patch) | |
tree | fb62e35903de001816bee596da147b10a01eeba6 /src/modules/bluetooth/bluetooth-util.c | |
parent | 26c64fb54e3376564a76c4bfbd9f56b110d58c30 (diff) | |
parent | e4979ab5cff84ef64c88bba3a1b6b4c5e02f7777 (diff) |
Merge commit 'e4979ab5cff84ef64c88bba3a1b6b4c5e02f7777'
Diffstat (limited to 'src/modules/bluetooth/bluetooth-util.c')
-rw-r--r-- | src/modules/bluetooth/bluetooth-util.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/modules/bluetooth/bluetooth-util.c b/src/modules/bluetooth/bluetooth-util.c index 53545209..47e0fd50 100644 --- a/src/modules/bluetooth/bluetooth-util.c +++ b/src/modules/bluetooth/bluetooth-util.c @@ -955,12 +955,14 @@ int pa_bluetooth_transport_acquire(const pa_bluetooth_transport *t, const char * return -1; } +#ifdef DBUS_TYPE_UNIX_FD if (!dbus_message_get_args(r, &err, DBUS_TYPE_UNIX_FD, &ret, DBUS_TYPE_INVALID)) { pa_log("Failed to parse org.bluez.MediaTransport.Acquire(): %s", err.message); ret = -1; dbus_error_free(&err); goto fail; } +#endif fail: dbus_message_unref(r); |