version 1.45, 2021/08/23 12:33:55 |
version 1.46, 2021/08/23 17:05:43 |
|
|
u_int count) |
u_int count) |
{ |
{ |
struct args *args; |
struct args *args; |
u_int i; |
u_int i; |
struct args_value *value, *new; |
struct args_value *value, *new; |
u_char flag, argument; |
u_char flag, argument; |
const char *found, *string, *s; |
const char *found, *string, *s; |
|
|
|
|
state = args_make_commands_prepare(self, item, idx, NULL, 0, 0); |
state = args_make_commands_prepare(self, item, idx, NULL, 0, 0); |
cmdlist = args_make_commands(state, 0, NULL, &error); |
cmdlist = args_make_commands(state, 0, NULL, &error); |
args_make_commands_free(state); |
|
if (cmdlist == NULL) { |
if (cmdlist == NULL) { |
cmdq_error(item, "%s", error); |
cmdq_error(item, "%s", error); |
free(error); |
free(error); |
} |
} |
|
else |
|
cmdlist->references++; |
|
args_make_commands_free(state); |
return (cmdlist); |
return (cmdlist); |
} |
} |
|
|