public inbox for cluster-cvs@sourceware.org
help / color / mirror / Atom feed
* cluster: master - cman: Allow cman_tool version -r0
@ 2009-01-21 10:52 Christine Caulfield
  0 siblings, 0 replies; only message in thread
From: Christine Caulfield @ 2009-01-21 10:52 UTC (permalink / raw)
  To: cluster-cvs-relay

Gitweb:        http://git.fedorahosted.org/git/cluster.git?p=cluster.git;a=commitdiff;h=e509e2c22729681356a1e0ea333b9eca40a8b218
Commit:        e509e2c22729681356a1e0ea333b9eca40a8b218
Parent:        29184b4a5d0326ddfd68f6636241077e167bd5c4
Author:        Christine Caulfield <ccaulfie@redhat.com>
AuthorDate:    Wed Jan 21 10:50:23 2009 +0000
Committer:     Christine Caulfield <ccaulfie@redhat.com>
CommitterDate: Wed Jan 21 10:52:03 2009 +0000

cman: Allow cman_tool version -r0

Signed-off-by: Christine Caulfield <ccaulfie@redhat.com>
---
 cman/services/cman/lib/libcman.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/cman/services/cman/lib/libcman.c b/cman/services/cman/lib/libcman.c
index 6631cf9..cceda35 100644
--- a/cman/services/cman/lib/libcman.c
+++ b/cman/services/cman/lib/libcman.c
@@ -930,7 +930,7 @@ int cman_set_version(cman_handle_t handle, const cman_version_t *version)
 	}
 	ccs_disconnect(ccs_handle);
 
-	if (cur_version >= version->cv_config) {
+	if (cur_version && cur_version >= version->cv_config) {
 		errno = EINVAL;
 		return -1;
 	}


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-01-21 10:52 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-01-21 10:52 cluster: master - cman: Allow cman_tool version -r0 Christine Caulfield

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).