From 6f1ac87333108b84a083eedb89ee3eb3d9f4497b Mon Sep 17 00:00:00 2001 From: Andreas Eversberg Date: Sun, 14 Sep 2008 12:27:11 +0200 Subject: 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 --- main.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'main.c') 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"); \ -- cgit v1.2.3-55-g7522