projects
/
lcr.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fixed trace bugs.
[lcr.git]
/
main.c
diff --git
a/main.c
b/main.c
index
1f736fb
..
f63b9bf
100644
(file)
--- 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);
/*** 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();
printf("%s\n", tracetext);
end_trace();
GET_NOW();
@@
-635,7
+635,7
@@
BUDETECT
}
SPRINT(tracetext, "%s terminated", NAME);
printf("%s\n", tracetext);
}
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();
if (quit)
add_trace((char *)"signal", NULL, "%d", quit);
end_trace();
@@
-742,7
+742,7
@@
free:
if (b) \
{ \
SPRINT(tracetext, a, NAME); \
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"); \
if (ret) add_trace("blocks", NULL, "%d", b); \
end_trace(); \
printf("\n******************************\n\007"); \