projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: Reverse incorrect error message argument order
[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 1d0e0aa02f0c1700b8a75aad1f1640d3b39b2527..83c0458289bc1e9e2b0d9ac024eeaf0c679f3dbc 100644
(file)
--- a/
formats/lttng-live/lttng-live-plugin.c
+++ b/
formats/lttng-live/lttng-live-plugin.c
@@
-102,8
+102,9
@@
int parse_url(const char *path, struct lttng_live_ctx *ctx)
}
}
}
}
- if (ctx->port < 0)
+ if (ctx->port < 0)
{
ctx->port = LTTNG_DEFAULT_NETWORK_VIEWER_PORT;
ctx->port = LTTNG_DEFAULT_NETWORK_VIEWER_PORT;
+ }
if (strlen(remain[2]) == 0) {
printf_verbose("Connecting to hostname : %s, port : %d, "
if (strlen(remain[2]) == 0) {
printf_verbose("Connecting to hostname : %s, port : %d, "
@@
-172,8
+173,9
@@
static int lttng_live_open_trace_read(const char *path)
goto end_free;
}
goto end_free;
}
- if (ctx->session_ids->len > 0)
+ if (ctx->session_ids->len > 0)
{
lttng_live_read(ctx);
lttng_live_read(ctx);
+ }
end_free:
g_hash_table_destroy(ctx->session->ctf_traces);
end_free:
g_hash_table_destroy(ctx->session->ctf_traces);
This page took
0.032754 seconds
and
4
git commands to generate.