projects
/
lcr.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
backup
[lcr.git]
/
trace.c
diff --git
a/trace.c
b/trace.c
index
9453bd7
..
6223684
100644
(file)
--- a/
trace.c
+++ b/
trace.c
@@
-325,11
+325,8
@@
void end_trace(void)
}
/* create state response */
}
/* create state response */
- response = (struct admin_queue *)malloc(sizeof(struct admin_queue)+sizeof(admin_message));
- if (!response)
- return;
+ response = (struct admin_queue *)MALLOC(sizeof(struct admin_queue)+sizeof(admin_message));
memuse++;
memuse++;
- memset(response, 0, sizeof(admin_queue)+sizeof(admin_message));
response->num = 1;
/* message */
response->am[0].message = ADMIN_TRACE_RESPONSE;
response->num = 1;
/* message */
response->am[0].message = ADMIN_TRACE_RESPONSE;
@@
-350,4
+347,3
@@
void end_trace(void)
-