public inbox for cluster-cvs@sourceware.org
help / color / mirror / Atom feed
From: Christine Caulfield <chrissie@fedoraproject.org>
To: cluster-cvs-relay@redhat.com
Subject: cluster: master - cman: Don't overwrite the connection handle
Date: Fri, 19 Jun 2009 08:52:00 -0000	[thread overview]
Message-ID: <20090619085217.7D200120343@lists.fedorahosted.org> (raw)

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;
 


                 reply	other threads:[~2009-06-19  8:52 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=20090619085217.7D200120343@lists.fedorahosted.org \
    --to=chrissie@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).