projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add close unix socket function to libcomm API
[lttng-tools.git]
/
ltt-sessiond
/
ltt-sessiond.c
diff --git
a/ltt-sessiond/ltt-sessiond.c
b/ltt-sessiond/ltt-sessiond.c
index 3590d7e444c685147cf74c3a2ece2e1de2831367..eee4cc84fb1729cc02afc36a3f04d23251bc7d3d 100644
(file)
--- a/
ltt-sessiond/ltt-sessiond.c
+++ b/
ltt-sessiond/ltt-sessiond.c
@@
-217,7
+217,7
@@
static void *thread_manage_clients(void *data)
* request of the client.
*/
ret = lttcomm_recv_unix_sock(sock, &lsm, sizeof(lsm));
* request of the client.
*/
ret = lttcomm_recv_unix_sock(sock, &lsm, sizeof(lsm));
- if (ret < 0) {
+ if (ret <
=
0) {
continue;
}
continue;
}
@@
-897,6
+897,7
@@
static void sighandler(int sig)
{
switch (sig) {
case SIGPIPE:
{
switch (sig) {
case SIGPIPE:
+ return;
case SIGINT:
case SIGTERM:
cleanup();
case SIGINT:
case SIGTERM:
cleanup();
This page took
0.025707 seconds
and
4
git commands to generate.