projects
/
platform
/
core
/
connectivity
/
bluetooth-frwk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
39a4d81
)
Fix the build error
26/63326/2
author
Hyuk Lee
<hyuk0512.lee@samsung.com>
Wed, 23 Mar 2016 07:44:14 +0000
(16:44 +0900)
committer
Hyuk Lee
<hyuk0512.lee@samsung.com>
Wed, 23 Mar 2016 07:51:42 +0000
(16:51 +0900)
Change-Id: I69fbdcd286876c09eae95e42236066bd07fcfd57
Signed-off-by: Hyuk Lee <hyuk0512.lee@samsung.com>
bt-api/bt-rfcomm-client.c
patch
|
blob
|
history
diff --git
a/bt-api/bt-rfcomm-client.c
b/bt-api/bt-rfcomm-client.c
index
b2e36e4
..
a641fb3
100755
(executable)
--- a/
bt-api/bt-rfcomm-client.c
+++ b/
bt-api/bt-rfcomm-client.c
@@
-112,9
+112,10
@@
gint compare(gpointer *a, gpointer *b)
gint compare_fd(gpointer *a, gpointer *b)
{
rfcomm_conn_info_t *node = (rfcomm_conn_info_t *)a;
- int
fd = (int )*
b;
- if (node->fd == fd)
+ int
*fd = (int *)
b;
+ if (node->fd ==
*
fd)
return 0;
+
return 1;
}
static void __bt_free_conn(rfcomm_conn_info_t *conn)