projects
/
platform
/
core
/
system
/
sensord.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d939b69
)
sensord: fix the bug which returns true although there is an error
80/54880/3
author
kibak.yoon
<kibak.yoon@samsung.com>
Fri, 18 Dec 2015 10:47:07 +0000
(19:47 +0900)
committer
kibak.yoon
<kibak.yoon@samsung.com>
Fri, 18 Dec 2015 10:59:59 +0000
(19:59 +0900)
Change-Id: I0ba655602ff782bd947fca3f10e66df4865d5c1c
Signed-off-by: kibak.yoon <kibak.yoon@samsung.com>
src/shared/csocket.cpp
patch
|
blob
|
history
diff --git
a/src/shared/csocket.cpp
b/src/shared/csocket.cpp
index
dfb8ce1
..
9d80138
100644
(file)
--- a/
src/shared/csocket.cpp
+++ b/
src/shared/csocket.cpp
@@
-336,7
+336,7
@@
bool csocket::connect(const char *sock_path)
} else if (!ret) {
ERR("select timeout: %d seconds elapsed for %s", tv.tv_sec, get_client_name());
close();
- return
tru
e;
+ return
fals
e;
}
if (!FD_ISSET(m_sock_fd, &write_fds)) {