mirror of
https://git.proxmox.com/git/mirror_corosync
synced 2025-08-15 05:39:04 +00:00
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:
parent
53c29707a8
commit
7931e7be08
@ -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 ??
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user