chiark
/
gitweb
/
~ian
/
secnet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Makefile.in: Handle conffile.yy.h properly
[secnet.git]
/
comm-common.h
diff --git
a/comm-common.h
b/comm-common.h
index 6dad9ef6c52e7010e9cf669959ad538d300cfd8e..b1cd9c0e123a36f7deb90c1f38e2761e76ceb7b6 100644
(file)
--- a/
comm-common.h
+++ b/
comm-common.h
@@
-34,7
+34,7
@@
bool_t comm_notify(struct comm_notify_list *notify, struct buffer_if *buf,
void comm_apply(struct commcommon *cc, void *st);
#define COMM_APPLY(st,cc,prefix,desc,loc) \
-
(st)=safe_malloc(sizeof(*(st)), desc "_apply");
\
+
NEW(st);
\
(cc)->loc=loc; \
(cc)->cl.description=desc; \
(cc)->ops.sendmsg=prefix##sendmsg; \