LTTng live: use common url parser
[babeltrace.git] / cli / babeltrace-cfg-cli-args.c
index f717f90b0c535338510a33596d975613331543f8..c11545177326e4a5ddac3267ae5eacdd51e65437 100644 (file)
@@ -4305,7 +4305,7 @@ struct bt_config *bt_config_convert_from_args(int argc, const char *argv[],
                if (implicit_lttng_live_args.exists) {
                        lttng_live_url_parts =
                                bt_common_parse_lttng_live_url(leftover,
-                                       error_buf, 256);
+                                       error_buf, sizeof(error_buf));
                        if (!lttng_live_url_parts.proto) {
                                printf_err("Invalid LTTng live URL format: %s\n",
                                        error_buf);
This page took 0.026059 seconds and 4 git commands to generate.