projects
/
lttng-ust.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ustd: use commit_seq to get buffers from crashed process
[lttng-ust.git]
/
libustcomm
/
ustcomm.c
diff --git
a/libustcomm/ustcomm.c
b/libustcomm/ustcomm.c
index f2aeb61fc423d2d818e89190fae44312d92f3658..e19118347ce3fd364aa1ec75cadb0f74fcf20550 100644
(file)
--- a/
libustcomm/ustcomm.c
+++ b/
libustcomm/ustcomm.c
@@
-59,6
+59,7
@@
static void signal_process(pid_t pid)
return;
}
return;
}
+ /* FIXME: should wait in a better way */
sleep(1);
}
sleep(1);
}
@@
-398,9
+399,6
@@
int ustcomm_send_request(struct ustcomm_connection *conn, char *req, char **repl
PERROR("send");
return -1;
}
PERROR("send");
return -1;
}
- else if(result == 0) {
- return 0;
- }
if(!reply)
return 1;
if(!reply)
return 1;
@@
-520,7
+518,7
@@
int ustcomm_init_ustd(struct ustcomm_ustd *handle)
handle->server.listen_fd = init_named_socket(name, &handle->server.socketpath);
if(handle->server.listen_fd < 0) {
handle->server.listen_fd = init_named_socket(name, &handle->server.socketpath);
if(handle->server.listen_fd < 0) {
- ERR("error initializing named socket
"
);
+ ERR("error initializing named socket
at %s", name
);
goto free_name;
}
free(name);
goto free_name;
}
free(name);
This page took
0.023444 seconds
and
4
git commands to generate.