cluster/cman/tests libtest.c
CVSROOT: /cvs/cluster
Module name: cluster
Changes by: pcaulfield at 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)
cman/tests/libtest.c +3 -0
@@ -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" );