public inbox for cluster-cvs@sourceware.org
help / color / mirror / Atom feed
From: Lon Hohberger <lon@fedoraproject.org>
To: cluster-cvs-relay@redhat.com
Subject: master - [fence] Fix fence_xvmd trying to read wrong args from ccs
Date: Wed, 15 Oct 2008 21:19:00 -0000	[thread overview]
Message-ID: <20081015192022.372A0C046B@lists.fedorahosted.org> (raw)

Gitweb:        http://git.fedorahosted.org/git/cluster.git?p=cluster.git;a=commitdiff;h=bbc02fe71467c541e43422a29ae3c005459adf36
Commit:        bbc02fe71467c541e43422a29ae3c005459adf36
Parent:        9d279da3138226b8a9765b09e6aa1e7fdfcc5a54
Author:        Lon Hohberger <lhh@redhat.com>
AuthorDate:    Wed Oct 15 15:19:11 2008 -0400
Committer:     Lon Hohberger <lhh@redhat.com>
CommitterDate: Wed Oct 15 15:20:11 2008 -0400

[fence] Fix fence_xvmd trying to read wrong args from ccs

---
 fence/agents/xvm/options-ccs.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/fence/agents/xvm/options-ccs.c b/fence/agents/xvm/options-ccs.c
index a4b7987..0384aee 100644
--- a/fence/agents/xvm/options-ccs.c
+++ b/fence/agents/xvm/options-ccs.c
@@ -65,6 +65,9 @@ args_get_ccs(char *optstr, fence_xvm_args_t *args)
 			continue;
 		}
 
+		if (!arg->stdin_opt)
+			continue;
+
 		n = snprintf(buf, sizeof(buf), "/cluster/fence_xvmd/@%s\n",
 			     arg->stdin_opt);
 		if (n == sizeof(buf)) {


                 reply	other threads:[~2008-10-15 21:19 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=20081015192022.372A0C046B@lists.fedorahosted.org \
    --to=lon@fedoraproject.org \
    --cc=cluster-cvs-relay@redhat.com \
    /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 read-only IMAP folder(s) and NNTP newsgroup(s).