summaryrefslogtreecommitdiffstats
path: root/genext.c
diff options
context:
space:
mode:
authorAndreas Eversberg2010-03-17 08:31:07 +0100
committerAndreas Eversberg2010-03-17 08:31:07 +0100
commit2732c3ce40d8e0b3875b5a0c933c98f27c8cbae9 (patch)
tree8d16fbc8e905e8adfe6129a52bdb511abc031f2e /genext.c
parentFixed includes to latest mISDNuser structures. (diff)
downloadlcr-2732c3ce40d8e0b3875b5a0c933c98f27c8cbae9.tar.gz
lcr-2732c3ce40d8e0b3875b5a0c933c98f27c8cbae9.tar.xz
lcr-2732c3ce40d8e0b3875b5a0c933c98f27c8cbae9.zip
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
Diffstat (limited to 'genext.c')
-rw-r--r--genext.c3
1 files changed, 2 insertions, 1 deletions
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);
}