Diff between 04a1fc903bdb42d1afaed9b70fa430139c654998 and b17fdd8adbbf799f5812f2546cb40af04b0ccbcf
Changed Files
| File | Additions | Deletions | Status |
| android/hidhost.c | +2 | -2 | modified |
Full Patch
diff --git a/android/hidhost.c b/android/hidhost.c
index abb3e46..bb9330e 100644
--- 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, &gerr,
BT_IO_OPT_SOURCE_BDADDR, &src,
BT_IO_OPT_DEST_BDADDR, &dst,
BT_IO_OPT_PSM, &psm,
BT_IO_OPT_INVALID);
- if (err) {
+ if (gerr) {
error("%s", gerr->message);
g_io_channel_shutdown(chan, TRUE, NULL);
g_error_free(gerr);