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

[Cluster-devel] cluster/cman/tests libtest.c



CVSROOT:	/cvs/cluster
Module name:	cluster
Changes by:	pcaulfield sourceware org	2006-08-17 14:30:12

Modified files:
	cman/tests     : libtest.c 

Log message:
	Fix a bug in the demo prog.
	no point in setting a bad example (again)

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/cman/tests/libtest.c.diff?cvsroot=cluster&r1=1.5&r2=1.6

--- cluster/cman/tests/libtest.c	2006/08/17 13:22:39	1.5
+++ cluster/cman/tests/libtest.c	2006/08/17 14:30:11	1.6
@@ -95,6 +95,9 @@
 		perror("get_nodes failed");
 	}
 
+	// Need to clear this.
+	// Who wrote this rubbish? oh, I did.
+	nodes[0].cn_name[0] = '\0';
 	if (!cman_get_node(h, CMAN_NODEID_US, &nodes[0]))
 	{
 		printf("Getting our info:\n");


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