good for merge regards -steve
On Thu, 2010-02-18 at 11:10 +1100, Angus Salkeld wrote: > Hi > > If I have another application in a cpg group I can't > use testcpg to join it (which is a bit irritating) > as testcpg sets the groupname one byte too big. > > corosync-cpgtool shows the groupname which a "0x" at the end. > > This fixes that problem. > > -Angus > > Signed-off-by: Angus Salkeld <[email protected]> > --- > test/testcpg.c | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/test/testcpg.c b/test/testcpg.c > index c9fe79d..2abe83d 100644 > --- a/test/testcpg.c > +++ b/test/testcpg.c > @@ -163,7 +163,7 @@ int main (int argc, char *argv[]) { > > if (argc > optind) { > strcpy(group_name.value, argv[optind]); > - group_name.length = strlen(argv[optind])+1; > + group_name.length = strlen(argv[optind]); > } > else { > strcpy(group_name.value, "GROUP"); _______________________________________________ Openais mailing list [email protected] https://lists.linux-foundation.org/mailman/listinfo/openais
