summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorInkyun Kil <inkyun.kil@samsung.com>2019-01-15 10:32:27 +0900
committerInkyun Kil <inkyun.kil@samsung.com>2019-01-15 10:46:41 +0900
commitdd8a76d7737799cd3c29a83c22a35276e1dfaa8b (patch)
treee56c8faa29f489685a42eef798d33e8f08abc356
parentb1fb1d2f072f3239f2f5a62abf60459275bab0de (diff)
downloadalarm-manager-dd8a76d7737799cd3c29a83c22a35276e1dfaa8b.tar.gz
alarm-manager-dd8a76d7737799cd3c29a83c22a35276e1dfaa8b.tar.bz2
alarm-manager-dd8a76d7737799cd3c29a83c22a35276e1dfaa8b.zip
Remove unnecessary calling method function
Change-Id: Id8fa10439a93524378ec26760e7220d16c24d8cc Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
-rwxr-xr-xalarm-session-agent/agent.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/alarm-session-agent/agent.c b/alarm-session-agent/agent.c
index 19dda23..f353c48 100755
--- a/alarm-session-agent/agent.c
+++ b/alarm-session-agent/agent.c
@@ -73,13 +73,6 @@ static int _sock_create(const char *path)
return -1;
}
- r = chmod(sa.sun_path, 0666);
- if (r == -1) {
- LOGE("Socket '%s': chmod %d", path, errno);
- close(fd);
- return -1;
- }
-
r = listen(fd, SOMAXCONN);
if (r == -1) {
LOGE("Socket '%s': listen %d", path, errno);