Allow NULL delivery_fn in gmi_join. This basically has no

effect but allows the processor to participate in multicasting
and membership.

(Logical change 1.38)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@112 fd59a12c-fef9-0310-b244-a6a79926bd2f
This commit is contained in:
Steven Dake 2004-07-13 17:20:56 +00:00
parent 0ee13ef6b5
commit 69c97fb5ff

View File

@ -2545,11 +2545,13 @@ static int user_deliver ()
gmi_log_printf (gmi_log_level_debug, "Last packet, delivering iovec %d entries seq %d\n",
iov_len_delv, i);
gmi_deliver_fn (
&mcast->groupname,
pend_delv->ip,
iovec_delv,
iov_len_delv);
if (gmi_deliver_fn) {
gmi_deliver_fn (
&mcast->groupname,
pend_delv->ip,
iovec_delv,
iov_len_delv);
}
/*
* On the first message delivery: