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

[Cluster-devel] cluster/group/daemon main.c



CVSROOT:	/cvs/cluster
Module name:	cluster
Changes by:	teigland sourceware org	2006-06-22 19:06:07

Modified files:
	group/daemon   : main.c 

Log message:
	now that we copy out app member list for viewing, set the
	member count to that total instead of cpg member list total

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/group/daemon/main.c.diff?cvsroot=cluster&r1=1.37&r2=1.38

--- cluster/group/daemon/main.c	2006/06/21 20:43:54	1.37
+++ cluster/group/daemon/main.c	2006/06/22 19:06:07	1.38
@@ -401,7 +401,6 @@
 	strncpy(data->name, g->name, MAX_GROUP_NAME_LEN);
 	data->level = g->level;
 	data->id = g->global_id;
-	data->member_count = g->memb_count;
 
 	if (g->app && g->app->current_event) {
 		event_t *ev = g->app->current_event;
@@ -421,6 +420,7 @@
 		}
 	}
 
+	data->member_count = g->app->node_count;
 	list_for_each_entry(node, &g->app->nodes, list) {
 		data->members[i] = node->nodeid;
 		i++;


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