projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix: Accept an input port in the live URL when no session is provided
[babeltrace.git]
/
formats
/
lttng-live
/
lttng-live-plugin.c
diff --git
a/formats/lttng-live/lttng-live-plugin.c
b/formats/lttng-live/lttng-live-plugin.c
index d02b799a09d759e22504dee26112fb01d0ecdbf4..a8cae580de7a140470fc78180db667839368f40e 100644
(file)
--- a/
formats/lttng-live/lttng-live-plugin.c
+++ b/
formats/lttng-live/lttng-live-plugin.c
@@
-135,6
+135,10
@@
int parse_url(const char *path, struct lttng_live_ctx *ctx)
if (ret < 0) {
goto end;
}
+ } else if (ret == 0) {
+ fprintf(stderr, "[error] Missing port number after delimitor ':'\n");
+ ret = -1;
+ goto end;
}
break;
case '/':
This page took
0.024603 seconds
and
4
git commands to generate.