projects
/
platform
/
core
/
system
/
buxton2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a51e648
)
Fix wrong comparison statement
25/258925/1
author
jusung
<jusung07.son@samsung.com>
Fri, 28 May 2021 02:03:52 +0000
(11:03 +0900)
committer
jusung
<jusung07.son@samsung.com>
Fri, 28 May 2021 02:05:52 +0000
(11:05 +0900)
Change-Id: If08419ba9cd0f2ec311aa252deb741b5c46111cc
Signed-off-by: jusung <jusung07.son@samsung.com>
lib/buxton2.c
patch
|
blob
|
history
diff --git
a/lib/buxton2.c
b/lib/buxton2.c
index
5800506
..
2f905b5
100644
(file)
--- a/
lib/buxton2.c
+++ b/
lib/buxton2.c
@@
-2513,7
+2513,7
@@
static gboolean recv_cb(gint fd, GIOCondition cond, gpointer data)
}
r = proc_msg(cli);
- if (r
== -1
) {
+ if (r
!= BUXTON_ERROR_NONE
) {
cli->fd_id = 0;
g_idle_add(close_conn, cli);
pthread_mutex_unlock(&clients_lock);