summaryrefslogtreecommitdiffstats
path: root/main.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 /main.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 'main.c')
-rw-r--r--main.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/main.c b/main.c
index b425abe..9d7f834 100644
--- a/main.c
+++ b/main.c
@@ -174,6 +174,7 @@ int main(int argc, char *argv[])
created_lock = 0, created_signal = 0, created_debug = 0,
created_misdn = 0;
char tracetext[256], lock[128];
+ char options_error[256];
#if 0
/* init fdset */
@@ -250,7 +251,7 @@ int main(int argc, char *argv[])
}
/* read options */
- if (read_options() == 0) {
+ if (read_options(options_error) == 0) {
PERROR("%s", options_error);
goto free;
}