OSDN Git Service
(root)
/
android-x86
/
external-bluetooth-bluez.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bdf07a7
)
gatt: Fix coding style checking boolean
author
Claudio Takahasi
<claudio.takahasi@openbossa.org>
Fri, 21 Mar 2014 19:20:31 +0000
(16:20 -0300)
committer
Johan Hedberg
<johan.hedberg@intel.com>
Mon, 24 Mar 2014 09:02:44 +0000
(11:02 +0200)
Use !foo instead of foo == FALSE
src/gatt-dbus.c
patch
|
blob
|
history
diff --git
a/src/gatt-dbus.c
b/src/gatt-dbus.c
index
a5a862b
..
4418353
100644
(file)
--- a/
src/gatt-dbus.c
+++ b/
src/gatt-dbus.c
@@
-368,9
+368,9
@@
static const GDBusMethodTable methods[] = {
gboolean gatt_dbus_manager_register(void)
{
- if (g_dbus_register_interface(btd_get_dbus_connection(),
+ if (
!
g_dbus_register_interface(btd_get_dbus_connection(),
"/org/bluez", GATT_MGR_IFACE,
- methods, NULL, NULL, NULL, NULL)
== FALSE
)
+ methods, NULL, NULL, NULL, NULL))
return FALSE;
proxy_hash = g_hash_table_new_full(g_direct_hash, g_direct_equal,