From 2732c3ce40d8e0b3875b5a0c933c98f27c8cbae9 Mon Sep 17 00:00:00 2001 From: Andreas Eversberg Date: Wed, 17 Mar 2010 08:31:07 +0100 Subject: Fixed output problems of error messages while parsing options.conf / gsm.conf. modified: Makefile.in modified: bchannel.c modified: chan_lcr.c modified: genext.c modified: gsm.cpp modified: gsm.h modified: gsm_conf.c modified: lcradmin.c modified: main.c modified: options.c modified: options.h --- genext.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'genext.c') diff --git a/genext.c b/genext.c index 486af09..4d34bbe 100644 --- a/genext.c +++ b/genext.c @@ -52,8 +52,9 @@ int main(int argc, char *argv[]) struct extension ext; char pathname[256]; FILE *fp; + char options_error[256]; - if (!read_options()) { + if (!read_options(options_error)) { PERROR("%s", options_error); return(-1); } -- cgit v1.2.3-55-g7522