From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31283 invoked by alias); 5 Sep 2008 16:19:39 -0000 Received: (qmail 29977 invoked by alias); 5 Sep 2008 16:19:18 -0000 X-Spam-Status: No, hits=-1.9 required=5.0 tests=AWL,BAYES_00,KAM_MX,SPF_HELO_PASS X-Spam-Check-By: sourceware.org X-Spam-Checker-Version: SpamAssassin 3.2.4 (2008-01-01) on bastion.fedora.phx.redhat.com X-Spam-Level: Subject: STABLE2 - cman: initialise key_filename variable. To: cluster-cvs-relay@redhat.com X-Project: Cluster Project X-Git-Module: cluster.git X-Git-Refname: refs/heads/STABLE2 X-Git-Reftype: branch X-Git-Oldrev: 7040e494c6208f5f01ef8457f81e99464373b0b3 X-Git-Newrev: 94832c3e09fe8ed376733cb6ecf446d6b22efd66 From: Christine Caulfield Message-Id: <20080905144646.7D34F1203BB@lists.fedorahosted.org> Date: Fri, 05 Sep 2008 16:20: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: 2008-q3/txt/msg00382.txt.bz2 Gitweb: http://git.fedorahosted.org/git/cluster.git?p=cluster.git;a=commitdiff;h=94832c3e09fe8ed376733cb6ecf446d6b22efd66 Commit: 94832c3e09fe8ed376733cb6ecf446d6b22efd66 Parent: 7040e494c6208f5f01ef8457f81e99464373b0b3 Author: Christine Caulfield AuthorDate: Fri Sep 5 14:06:02 2008 +0100 Committer: Christine Caulfield CommitterDate: Fri Sep 5 14:06:02 2008 +0100 cman: initialise key_filename variable. Tho' I thought the loader was supposed to do this. Signed-off-by: Christine Caulfield --- cman/daemon/cmanccs.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/cman/daemon/cmanccs.c b/cman/daemon/cmanccs.c index 65a29b8..4878810 100644 --- a/cman/daemon/cmanccs.c +++ b/cman/daemon/cmanccs.c @@ -59,7 +59,7 @@ static char *mcast[MAX_NODENAMES]; static char *nodename_env; static int num_nodenames; int two_node; - char *key_filename; + char *key_filename=NULL; static char *mcast_name; static unsigned char votes; static unsigned int expected_votes;