From: pcaulfield@sourceware.org <pcaulfield@sourceware.org>
To: cluster-devel.redhat.com
Subject: [Cluster-devel] cluster/cman/cman_tool main.c
Date: 10 Jul 2006 13:15:56 -0000 [thread overview]
Message-ID: <20060710131556.11758.qmail@sourceware.org> (raw)
CVSROOT: /cvs/cluster
Module name: cluster
Branch: RHEL4
Changes by: pcaulfield at sourceware.org 2006-07-10 13:15:56
Modified files:
cman/cman_tool : main.c
Log message:
Allow zero votes.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/cman/cman_tool/main.c.diff?cvsroot=cluster&only_with_tag=RHEL4&r1=1.12.2.8&r2=1.12.2.9
--- cluster/cman/cman_tool/main.c 2006/03/06 10:38:42 1.12.2.8
+++ cluster/cman/cman_tool/main.c 2006/07/10 13:15:56 1.12.2.9
@@ -553,7 +553,7 @@
if (!comline->clustername[0])
die("cluster name not set");
- if (!comline->votes_opt)
+ if (comline->votes < 0)
comline->votes = DEFAULT_VOTES;
if (!comline->port)
@@ -619,6 +619,7 @@
prog_name = argv[0];
memset(&comline, 0, sizeof(commandline_t));
+ comline.votes = -1;
decode_arguments(argc, argv, &comline);
next reply other threads:[~2006-07-10 13:15 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-07-10 13:15 pcaulfield [this message]
-- strict thread matches above, loose matches on Subject: below --
2007-09-28 13:26 [Cluster-devel] cluster/cman/cman_tool main.c pcaulfield
2007-09-28 12:18 pcaulfield
2007-09-28 12:00 pcaulfield
2007-08-15 19:39 rmccabe
2007-02-19 14:05 pcaulfield
2007-02-19 14:04 pcaulfield
2006-10-09 15:54 pcaulfield
2006-07-10 13:13 pcaulfield
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20060710131556.11758.qmail@sourceware.org \
--to=pcaulfield@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).