Send configuration changes to CPG listeners. (regression in IPC patch).

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1781 fd59a12c-fef9-0310-b244-a6a79926bd2f
This commit is contained in:
Steven Dake 2009-02-25 06:54:42 +00:00
parent 53c29707a8
commit 7931e7be08

View File

@ -440,14 +440,14 @@ static int notify_lib_joinlist(
}
if (conn) {
api->ipc_response_send(conn, buf, size);
api->ipc_dispatch_send(conn, buf, size);
}
else {
/* Send it to all listeners */
for (iter = gi->members.next, tmp=iter->next; iter != &gi->members; iter = tmp, tmp=iter->next) {
struct process_info *pi = list_entry(iter, struct process_info, list);
if (pi->trackerconn && (pi->flags & PI_FLAG_MEMBER)) {
if (api->ipc_response_send(pi->trackerconn, buf, size) == -1) {
if (api->ipc_dispatch_send(pi->trackerconn, buf, size) == -1) {
// Error ??
}
}