summaryrefslogtreecommitdiffstats
path: root/main.c
diff options
context:
space:
mode:
authorAndreas Eversberg2008-09-14 12:27:11 +0200
committerAndreas Eversberg2008-09-14 12:27:11 +0200
commit6f1ac87333108b84a083eedb89ee3eb3d9f4497b (patch)
treebc4c8ed22794873ec35dada2ff53d9a9bccdbd84 /main.c
parentCorrected error print, if mISDN_dsp.ko module cannot be loaded. (diff)
downloadlcr-6f1ac87333108b84a083eedb89ee3eb3d9f4497b.tar.gz
lcr-6f1ac87333108b84a083eedb89ee3eb3d9f4497b.tar.xz
lcr-6f1ac87333108b84a083eedb89ee3eb3d9f4497b.zip
Fixed trace bugs.
modified: README modified: interface.c modified: lcradmin.c modified: mISDN.cpp modified: main.c modified: socket_server.c modified: trace.c modified: vbox.cpp
Diffstat (limited to 'main.c')
-rw-r--r--main.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/main.c b/main.c
index 1f736fb..f63b9bf 100644
--- a/main.c
+++ b/main.c
@@ -445,7 +445,7 @@ int main(int argc, char *argv[])
/*** main loop ***/
SPRINT(tracetext, "%s %s started, waiting for calls...", NAME, VERSION_STRING);
- start_trace(0, NULL, NULL, NULL, 0, 0, 0, tracetext);
+ start_trace(-1, NULL, NULL, NULL, 0, 0, 0, tracetext);
printf("%s\n", tracetext);
end_trace();
GET_NOW();
@@ -635,7 +635,7 @@ BUDETECT
}
SPRINT(tracetext, "%s terminated", NAME);
printf("%s\n", tracetext);
- start_trace(0, NULL, NULL, NULL, 0, 0, 0, tracetext);
+ start_trace(-1, NULL, NULL, NULL, 0, 0, 0, tracetext);
if (quit)
add_trace((char *)"signal", NULL, "%d", quit);
end_trace();
@@ -742,7 +742,7 @@ free:
if (b) \
{ \
SPRINT(tracetext, a, NAME); \
- start_trace(0, NULL, NULL, NULL, 0, 0, 0, tracetext); \
+ start_trace(-1, NULL, NULL, NULL, 0, 0, 0, tracetext); \
if (ret) add_trace("blocks", NULL, "%d", b); \
end_trace(); \
printf("\n******************************\n\007"); \