From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27451 invoked by alias); 19 Jun 2009 08:52:50 -0000 Received: (qmail 27445 invoked by alias); 19 Jun 2009 08:52:50 -0000 X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS X-Spam-Status: No, hits=-1.9 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS X-Spam-Check-By: sourceware.org X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on bastion2.fedora.phx.redhat.com Subject: cluster: master - cman: Don't overwrite the connection handle To: cluster-cvs-relay@redhat.com X-Project: Cluster Project X-Git-Module: cluster.git X-Git-Refname: refs/heads/master X-Git-Reftype: branch X-Git-Oldrev: 6833f74492994f1cb845a3eb71c43936577f5d96 X-Git-Newrev: 33cf7c2f379a666a8b0456b893fe17fa03a5733a From: Christine Caulfield Message-Id: <20090619085217.7D200120343@lists.fedorahosted.org> Date: Fri, 19 Jun 2009 08:52:00 -0000 X-Scanned-By: MIMEDefang 2.58 on 172.16.52.254 Mailing-List: contact cluster-cvs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: cluster-cvs-owner@sourceware.org X-SW-Source: 2009-q2/txt/msg00562.txt.bz2 Gitweb: http://git.fedorahosted.org/git/cluster.git?p=cluster.git;a=commitdiff;h=33cf7c2f379a666a8b0456b893fe17fa03a5733a Commit: 33cf7c2f379a666a8b0456b893fe17fa03a5733a Parent: 6833f74492994f1cb845a3eb71c43936577f5d96 Author: Christine Caulfield AuthorDate: Fri Jun 19 09:51:14 2009 +0100 Committer: Christine Caulfield 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 --- 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;