chiark / gitweb /
comm: comm_notify takes the cc, not just the notify_list
[secnet.git] / comm-common.c
index b855b9d6c0f156d546b9ebc0adcef32127e4ec38..28580be3f3dc5878fe81c8d5935bd72126615e30 100644 (file)
@@ -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 commcommon *cc,
                   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) {