]> git.proxmox.com Git - mirror_corosync.git/commitdiff
test: Fix cpgtest
authorChristine Caulfield <ccaulfie@redhat.com>
Mon, 18 May 2020 12:34:07 +0000 (13:34 +0100)
committerJan Friesse <jfriesse@redhat.com>
Mon, 18 May 2020 12:54:13 +0000 (14:54 +0200)
... to cope with the max number of group members.

Signed-off-by: Christine Caulfield <ccaulfie@redhat.com>
Reviewed-by: Jan Friesse <jfriesse@redhat.com>
test/testcpg.c

index e48f3ccb55141aedb3ed8d3ae4e5a720feefd7e7..68c29298640ce0b8deaca59c612e78e88c766b97 100644 (file)
@@ -303,7 +303,7 @@ int main (int argc, char *argv[]) {
        int opt;
        unsigned int nodeid;
        char *fgets_res;
-       struct cpg_address member_list[64];
+       struct cpg_address member_list[CPG_MEMBERS_MAX];
        int member_list_entries;
        int i;
        int recnt;