From 6553cf14c84e374cbe38cf4769d73a048c3927bc Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Tue, 2 Jun 2009 17:44:56 +0000 Subject: [PATCH] totempg.c: don't truncate group list * exec/totempg.c (totempg_groups_join): Fix typo s/=/+/ that would mistakenly truncate totempg group list. git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2204 fd59a12c-fef9-0310-b244-a6a79926bd2f --- exec/totempg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/exec/totempg.c b/exec/totempg.c index 7be99435..2ea45ff7 100644 --- a/exec/totempg.c +++ b/exec/totempg.c @@ -1035,7 +1035,7 @@ int totempg_groups_join ( memcpy (&new_groups[instance->groups_cnt], groups, group_cnt * sizeof (struct totempg_group)); instance->groups = new_groups; - instance->groups_cnt = instance->groups_cnt = group_cnt; + instance->groups_cnt += group_cnt; hdb_handle_put (&totempg_groups_instance_database, handle);