The IPC patch broke the sending of confchg messages to CPG listeners.
This patch fixes that problem.
Regards
-steve
Index: services/cpg.c
===================================================================
--- services/cpg.c (revision 1777)
+++ services/cpg.c (working copy)
@@ -440,14 +440,14 @@
}
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 ??
}
}
_______________________________________________
Openais mailing list
[email protected]
https://lists.linux-foundation.org/mailman/listinfo/openais