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:
a3c32f0
)
gatt: Minor coding style fix
author
Johan Hedberg
<johan.hedberg@intel.com>
Mon, 24 Mar 2014 13:42:10 +0000
(15:42 +0200)
committer
Johan Hedberg
<johan.hedberg@intel.com>
Mon, 24 Mar 2014 13:42:10 +0000
(15:42 +0200)
src/gatt-dbus.c
patch
|
blob
|
history
diff --git
a/src/gatt-dbus.c
b/src/gatt-dbus.c
index
1a1c6cc
..
ff167c2
100644
(file)
--- a/
src/gatt-dbus.c
+++ b/
src/gatt-dbus.c
@@
-187,7
+187,7
@@
static void proxy_read_cb(struct btd_attribute *attr,
static void proxy_write_reply(const DBusError *derr, void *user_data)
{
struct proxy_write_data *wdata = user_data;
- int err
= 0
;
+ int err;
/*
* Security requirements shall be handled by the core. If external
@@
-195,8
+195,10
@@
static void proxy_write_reply(const DBusError *derr, void *user_data)
* invalid argument or application specific errors.
*/
- if (!dbus_error_is_set(derr))
+ if (!dbus_error_is_set(derr)) {
+ err = 0;
goto done;
+ }
DBG("Write reply: %s", derr->message);