projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
lttng-ctl: health: remove unreachable condition
[lttng-tools.git]
/
src
/
lib
/
lttng-ctl
/
lttng-ctl-health.c
diff --git
a/src/lib/lttng-ctl/lttng-ctl-health.c
b/src/lib/lttng-ctl/lttng-ctl-health.c
index dc1516db5d0c7336371e10f0408927eef34a949e..3de74fd11009bee33df7710f2a6d25fdeda1d05f 100644
(file)
--- a/
src/lib/lttng-ctl/lttng-ctl-health.c
+++ b/
src/lib/lttng-ctl/lttng-ctl-health.c
@@
-231,8
+231,8
@@
struct lttng_health *lttng_health_create_relayd(const char *path)
goto error;
}
- ret = lttng_strncpy(lh->health_sock_path, path
?: ""
,
-
sizeof(lh->health_sock_path));
+ ret = lttng_strncpy(lh->health_sock_path, path,
+ sizeof(lh->health_sock_path));
if (ret) {
goto error;
}
This page took
0.023926 seconds
and
4
git commands to generate.