cluster: master - cman: Don't overwrite the connection handle
Christine Caulfield
chrissie@fedoraproject.org
Fri Jun 19 08:52:00 GMT 2009
Gitweb: http://git.fedorahosted.org/git/cluster.git?p=cluster.git;a=commitdiff;h=33cf7c2f379a666a8b0456b893fe17fa03a5733a
Commit: 33cf7c2f379a666a8b0456b893fe17fa03a5733a
Parent: 6833f74492994f1cb845a3eb71c43936577f5d96
Author: Christine Caulfield <ccaulfie@redhat.com>
AuthorDate: Fri Jun 19 09:51:14 2009 +0100
Committer: Christine Caulfield <ccaulfie@redhat.com>
CommitterDate: Fri Jun 19 09:51:14 2009 +0100
cman: Don't overwrite the connection handle
cman_init overwrote the connection handle with a totally different
handle, this preventing several calls to cman functions from
working.
Signed-off-by: Christine Caulfield <ccaulfie@redhat.com>
---
cman/services/cman/lib/libcman.c | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
diff --git a/cman/services/cman/lib/libcman.c b/cman/services/cman/lib/libcman.c
index c2caf8e..a90f0c2 100644
--- a/cman/services/cman/lib/libcman.c
+++ b/cman/services/cman/lib/libcman.c
@@ -182,7 +182,6 @@ cman_handle_t cman_init (
cman_inst->privdata = privdata;
cman_inst->magic = CMAN_MAGIC;
- cman_inst->handle = handle;
cman_inst->cfg_handle = (corosync_cfg_handle_t)NULL;
cman_inst->voteq_handle = (votequorum_handle_t)NULL;
More information about the Cluster-cvs
mailing list