Explorar o código

test: Fix cpgtest

... to cope with the max number of group members.

Signed-off-by: Christine Caulfield <ccaulfie@redhat.com>
Reviewed-by: Jan Friesse <jfriesse@redhat.com>
Christine Caulfield %!s(int64=5) %!d(string=hai) anos
pai
achega
05023ee2e9
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      test/testcpg.c

+ 1 - 1
test/testcpg.c

@@ -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;