summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLuiz Augusto von Dentz <luiz.dentz@openbossa.org>2008-03-14 20:27:56 +0000
committerLuiz Augusto von Dentz <luiz.dentz@openbossa.org>2008-03-14 20:27:56 +0000
commit9fa7cb38ac2f85ea1240b9b896de8145e59dd7d1 (patch)
tree1bda2f29164ee4a92e48fe08989b01aa4b395ac3
parentb40abf7a95c0e988f7afb795d1d103ff0b91d4d0 (diff)
Fix coding style.
-rw-r--r--hcid/dbus-hci.c20
1 files changed, 11 insertions, 9 deletions
diff --git a/hcid/dbus-hci.c b/hcid/dbus-hci.c
index ec6b5e99..044c1421 100644
--- a/hcid/dbus-hci.c
+++ b/hcid/dbus-hci.c
@@ -1563,19 +1563,21 @@ void hcid_dbus_inquiry_result(bdaddr_t *local, bdaddr_t *peer, uint32_t class,
name_status = NAME_SENT;
if (hcid_dbus_use_experimental()) {
- emit_device_found(path, paddr, "Address",
- DBUS_TYPE_STRING, &paddr, "Class",
- DBUS_TYPE_UINT32, &class, "RSSI",
- DBUS_TYPE_UINT16, &tmp_rssi, "Name",
- DBUS_TYPE_STRING, &name, NULL);
+ emit_device_found(path, paddr,
+ "Address", DBUS_TYPE_STRING, &paddr,
+ "Class", DBUS_TYPE_UINT32, &class,
+ "RSSI", DBUS_TYPE_UINT16, &tmp_rssi,
+ "Name", DBUS_TYPE_STRING, &name,
+ NULL);
}
g_free(name);
} else if (hcid_dbus_use_experimental()) {
- emit_device_found(path, paddr, "Address", DBUS_TYPE_STRING,
- &paddr, "Class", DBUS_TYPE_UINT32,
- &class, "RSSI", DBUS_TYPE_INT16,
- &tmp_rssi, NULL);
+ emit_device_found(path, paddr,
+ "Address", DBUS_TYPE_STRING, &paddr,
+ "Class", DBUS_TYPE_UINT32, &class,
+ "RSSI", DBUS_TYPE_INT16, &tmp_rssi,
+ NULL);
}
/* add in the list to track name sent/pending */