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:
04a1fc9
)
android/hidhost: Use correct error structure
author
Andrei Emeltchenko
<andrei.emeltchenko@intel.com>
Wed, 13 Nov 2013 14:29:34 +0000
(16:29 +0200)
committer
Johan Hedberg
<johan.hedberg@intel.com>
Wed, 13 Nov 2013 14:47:39 +0000
(16:47 +0200)
android/hidhost.c
patch
|
blob
|
history
diff --git
a/android/hidhost.c
b/android/hidhost.c
index
abb3e46
..
bb9330e
100644
(file)
--- a/
android/hidhost.c
+++ b/
android/hidhost.c
@@
-1129,12
+1129,12
@@
static void connect_cb(GIOChannel *chan, GError *err, gpointer user_data)
return;
}
- bt_io_get(chan, &err,
+ bt_io_get(chan, &
g
err,
BT_IO_OPT_SOURCE_BDADDR, &src,
BT_IO_OPT_DEST_BDADDR, &dst,
BT_IO_OPT_PSM, &psm,
BT_IO_OPT_INVALID);
- if (err) {
+ if (
g
err) {
error("%s", gerr->message);
g_io_channel_shutdown(chan, TRUE, NULL);
g_error_free(gerr);