chiark
/
gitweb
/
~ianmdlvl
/
secnet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
comm: comm_notify takes the cc, not just the notify_list
[secnet.git]
/
comm-common.c
diff --git
a/comm-common.c
b/comm-common.c
index b855b9d6c0f156d546b9ebc0adcef32127e4ec38..28580be3f3dc5878fe81c8d5935bd72126615e30 100644
(file)
--- a/
comm-common.c
+++ b/
comm-common.c
@@
-51,9
+51,10
@@
void comm_release_notify(void *commst, void *nst, comm_notify_fn *fn)
}
}
}
}
-bool_t comm_notify(struct comm
_notify_list *notify
,
+bool_t comm_notify(struct comm
common *cc
,
struct buffer_if *buf, const struct comm_addr *ca)
{
struct buffer_if *buf, const struct comm_addr *ca)
{
+ struct comm_notify_list *notify = &cc->notify;
struct comm_notify_entry *n;
LIST_FOREACH(n, notify, entry) {
struct comm_notify_entry *n;
LIST_FOREACH(n, notify, entry) {