[PATCH] Fix cpg_membership_get()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The wrong size was getting set in exec/cpg.c

Signed-off-by: Angus Salkeld <asalkeld@xxxxxxxxxx>
---
 exec/cpg.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/exec/cpg.c b/exec/cpg.c
index 95eb847..d9af287 100644
--- a/exec/cpg.c
+++ b/exec/cpg.c
@@ -1931,7 +1931,7 @@ static void message_handler_req_lib_cpg_membership (void *conn,
 	res_lib_cpg_membership_get.header.id = MESSAGE_RES_CPG_MEMBERSHIP;
 	res_lib_cpg_membership_get.header.error = CS_OK;
 	res_lib_cpg_membership_get.header.size =
-		sizeof (struct req_lib_cpg_membership_get);
+		sizeof (struct res_lib_cpg_membership_get);
 
 	for (iter = process_info_list_head.next;
 		iter != &process_info_list_head; iter = iter->next) {
-- 
1.7.11.4

_______________________________________________
discuss mailing list
discuss@xxxxxxxxxxxx
http://lists.corosync.org/mailman/listinfo/discuss


[Index of Archives]     [Linux Clusters]     [Corosync Project]     [Linux USB Devel]     [Linux Audio Users]     [Photo]     [Yosemite News]    [Yosemite Photos]    [Linux Kernel]     [Linux SCSI]     [X.Org]

  Powered by Linux