projects
/
sdk
/
target
/
dynamic-analysis-manager.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ee46f49
)
[Title] terminate only first target process
author
greatim
<jaewon81.lim@samsung.com>
Mon, 5 Aug 2013 13:53:52 +0000
(22:53 +0900)
committer
greatim
<jaewon81.lim@samsung.com>
Mon, 5 Aug 2013 13:53:52 +0000
(22:53 +0900)
[Desc.]
[Issue]
Change-Id: I45a392d9f4d24a4bd7a40b50b5aa6679fa82c8c7
daemon/daemon.c
patch
|
blob
|
history
diff --git
a/daemon/daemon.c
b/daemon/daemon.c
index
1884550
..
ca13d16
100644
(file)
--- a/
daemon/daemon.c
+++ b/
daemon/daemon.c
@@
-400,7
+400,9
@@
static void terminate_all_target()
sendlen = send(manager.target[i].socket, &sendlog, sizeof(sendlog.type) + sizeof(sendlog.length), MSG_NOSIGNAL);
if(sendlen != -1)
{
+ // send to only first main target process
LOGI("TERMINATE send exit msg (socket %d) by terminate_all_target()\n", manager.target[i].socket);
+ break;
}
}
}