projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: code refactoring of viewer streams in relayd
[lttng-tools.git]
/
src
/
bin
/
lttng-consumerd
/
lttng-consumerd.c
diff --git
a/src/bin/lttng-consumerd/lttng-consumerd.c
b/src/bin/lttng-consumerd/lttng-consumerd.c
index 4a9a7a4929200bfd53c838eed13b48f52dd0ae50..d9ec0f33efc4cbb0453f91ba479db9e550bd8ed8 100644
(file)
--- a/
src/bin/lttng-consumerd/lttng-consumerd.c
+++ b/
src/bin/lttng-consumerd/lttng-consumerd.c
@@
-341,7
+341,10
@@
int main(int argc, char **argv)
}
/* Init */
}
/* Init */
- lttng_consumer_init();
+ if (lttng_consumer_init() < 0) {
+ goto error;
+ }
+
/* Init socket timeouts */
lttcomm_init();
lttcomm_inet_init();
/* Init socket timeouts */
lttcomm_init();
lttcomm_inet_init();
@@
-405,9
+408,6
@@
int main(int argc, char **argv)
ctx->type = opt_type;
ctx->type = opt_type;
- /* Initialize communication library */
- lttcomm_init();
-
ret = utils_create_pipe(health_quit_pipe);
if (ret < 0) {
goto error_health_pipe;
ret = utils_create_pipe(health_quit_pipe);
if (ret < 0) {
goto error_health_pipe;
This page took
0.024461 seconds
and
4
git commands to generate.