projects
/
platform
/
core
/
appfw
/
aul-1.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d65a3e1
)
Fix the exception
32/211732/2
author
Hwankyu Jhun
<h.jhun@samsung.com>
Thu, 8 Aug 2019 10:52:24 +0000
(19:52 +0900)
committer
HwanKyu Jhun
<h.jhun@samsung.com>
Thu, 8 Aug 2019 11:28:42 +0000
(11:28 +0000)
The errno value can be changed by printing dlog.
Change-Id: Ic3a82c413b9c5bae9fc7a587a8cb4e4538530c05
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
src/aul_sock.c
patch
|
blob
|
history
diff --git
a/src/aul_sock.c
b/src/aul_sock.c
index
c2e523f
..
ae0a1cd
100644
(file)
--- a/
src/aul_sock.c
+++ b/
src/aul_sock.c
@@
-935,13
+935,14
@@
API int aul_sock_send_result(int fd, int res)
r = send(fd, &res, sizeof(res), MSG_NOSIGNAL);
if (r < 0) {
- _E("Failed to send result. fd(%d), errno(%d)",
- fd, errno);
if (errno == EPIPE) {
_E("EPIPE error");
close(fd);
return r;
}
+
+ _E("Failed to send result. fd(%d), errno(%d)",
+ fd, errno);
}
close(fd);