public inbox for cluster-cvs@sourceware.org
help / color / mirror / Atom feed
* STABLE2 - fenced: add skip_undefined option fix
@ 2008-08-21 19:56 David Teigland
0 siblings, 0 replies; only message in thread
From: David Teigland @ 2008-08-21 19:56 UTC (permalink / raw)
To: cluster-cvs-relay
Gitweb: http://git.fedorahosted.org/git/cluster.git?p=cluster.git;a=commitdiff;h=97b34a12441f5149ccb9d37b29b01db2cb073028
Commit: 97b34a12441f5149ccb9d37b29b01db2cb073028
Parent: c9ce9e3c7e6b5eac73ecca416a5fe98f72bbd7aa
Author: David Teigland <teigland@redhat.com>
AuthorDate: Thu Aug 21 14:07:50 2008 -0500
Committer: David Teigland <teigland@redhat.com>
CommitterDate: Thu Aug 21 14:09:52 2008 -0500
fenced: add skip_undefined option fix
fix the previous commit
bz 459127
Signed-off-by: David Teigland <teigland@redhat.com>
---
fence/fenced/main.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/fence/fenced/main.c b/fence/fenced/main.c
index 50b9aa2..e73531e 100644
--- a/fence/fenced/main.c
+++ b/fence/fenced/main.c
@@ -63,7 +63,7 @@ static int setup_ccs(fd_t *fd)
char path[256];
char *name = NULL, *str = NULL;
int error, cd, i = 0, count = 0;
-
+ int num_methods;
while ((cd = ccs_connect()) < 0) {
sleep(1);
@@ -198,6 +198,7 @@ static int setup_ccs(fd_t *fd)
if (comline.skip_undefined && !num_methods) {
log_debug("skip %s with zero methods", name);
+ free(name);
continue;
}
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2008-08-21 19:20 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-08-21 19:56 STABLE2 - fenced: add skip_undefined option fix David Teigland
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).