From: yangxx Date: Fri, 1 Aug 2003 12:12:27 +0000 (+0000) Subject: git-svn-id: http://ltt.polymtl.ca/svn@154 04897980-b3bd-0310-b5e0-8ef037075253 X-Git-Tag: v0.12.20~3335 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=4fa246be8dad05a2d2ea7c13a0f0c63e6641b4f9;p=lttv.git git-svn-id: ltt.polymtl.ca/svn@154 04897980-b3bd-0310-b5e0-8ef037075253 --- diff --git a/ltt/branches/poly/lttv/option.c b/ltt/branches/poly/lttv/option.c index c5046ef8..b7e4270a 100644 --- a/ltt/branches/poly/lttv/option.c +++ b/ltt/branches/poly/lttv/option.c @@ -159,7 +159,7 @@ void lttv_options_command_parse(void *hook_data, void *call_data) c = poptGetContext("lttv", command_argc, (const char**)command_argv, (struct poptOption *)lttv_options_command_popt->data,0); g_array_remove_index(lttv_options_command_popt, - lttv_options_command_popt->len); + lttv_options_command_popt->len -1); /* Cut out the already parsed elements */ if(lastrc != -1)