From: Andre Noll Date: Sat, 1 Nov 2008 22:47:03 +0000 (+0100) Subject: Init the format info struct in interactive mode. X-Git-Tag: v0.0.4~14 X-Git-Url: http://git.tue.mpg.de/?a=commitdiff_plain;h=33b09d214c4b694c7e58db22e9fc39be0b8d09c8;p=adu.git Init the format info struct in interactive mode. Another bug which causes adu to segfault if used in interactive mode and without setting any options. --- diff --git a/interactive.c b/interactive.c index a35a82b..28ef74a 100644 --- a/interactive.c +++ b/interactive.c @@ -143,6 +143,7 @@ int com_interactive(void) int ret = 1; select_cmdline_parser_init(&select_conf); + ret = parse_select_options(NULL, NULL, &admissible_uids, &fi); while (read_input_line(line, sizeof(line)) >= 0) { ret = exec_interactive_command(line); if (ret < 0)