This is the mail archive of the cluster-cvs@sourceware.org mailing list for the cluster.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

STABLE2 - cman: initialise key_filename variable.


Gitweb:        http://git.fedorahosted.org/git/cluster.git?p=cluster.git;a=commitdiff;h=94832c3e09fe8ed376733cb6ecf446d6b22efd66
Commit:        94832c3e09fe8ed376733cb6ecf446d6b22efd66
Parent:        7040e494c6208f5f01ef8457f81e99464373b0b3
Author:        Christine Caulfield <ccaulfie@redhat.com>
AuthorDate:    Fri Sep 5 14:06:02 2008 +0100
Committer:     Christine Caulfield <ccaulfie@redhat.com>
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 <ccaulfie@redhat.com>
---
 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;


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]