projects
/
platform
/
core
/
appfw
/
notification-service.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
340924f
)
Remove socket cleanup code
author
Rusty Lynch
<rusty.lynch@intel.com>
Mon, 16 Sep 2013 21:09:50 +0000
(14:09 -0700)
committer
Gerrit Code Review
<gerrit@review.vlan103.tizen.org>
Mon, 16 Sep 2013 22:30:15 +0000
(15:30 -0700)
Change-Id: I04d379037991c7e450d7905213b576e12108e08e
service_common.c
patch
|
blob
|
history
diff --git
a/service_common.c
b/service_common.c
index
db79011
..
b53d1ff
100644
(file)
--- a/
service_common.c
+++ b/
service_common.c
@@
-575,18
+575,6
@@
struct service_context *service_common_create(const char *addr, int (*service_th
return NULL;
}
- /*
- * cleanup old socket file
- */
- struct stat tmp;
- if (!stat(addr, &tmp)) {
- if (unlink(addr)) {
- perror("Unable to unlink old socket file");
- free(svc_ctx);
- return NULL;
- }
- }
-
svc_ctx->fd = secure_socket_create_server(addr);
if (svc_ctx->fd < 0) {
free(svc_ctx);