From mboxrd@z Thu Jan 1 00:00:00 1970 From: fabbione@sourceware.org Date: 10 Mar 2008 19:08:00 -0000 Subject: [Cluster-devel] Cluster Project branch, master, updated. gfs-kernel_0_1_22-63-g47cf653 Message-ID: <20080310190800.14697.qmail@sourceware.org> List-Id: To: cluster-devel.redhat.com MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "Cluster Project". http://sources.redhat.com/git/gitweb.cgi?p=cluster.git;a=commitdiff;h=47cf653fd1c28905f6caa750d715542d77fe4ee1 The branch, master has been updated via 47cf653fd1c28905f6caa750d715542d77fe4ee1 (commit) from 53d0c185cb0374ec037fdc2dd24752d07150edec (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit 47cf653fd1c28905f6caa750d715542d77fe4ee1 Author: Fabio M. Di Nitto Date: Mon Mar 10 20:07:27 2008 +0100 [CCS] Cleanup duplicate vars from previous commit Signed-off-by: Fabio M. Di Nitto ----------------------------------------------------------------------- Summary of changes: ccs/ccsais/config.c | 10 +++++----- 1 files changed, 5 insertions(+), 5 deletions(-) diff --git a/ccs/ccsais/config.c b/ccs/ccsais/config.c index 1365206..12a15ec 100644 --- a/ccs/ccsais/config.c +++ b/ccs/ccsais/config.c @@ -80,16 +80,16 @@ __attribute__ ((constructor)) static void ccs_comp_register(void) { static int should_alloc(int ccs_fd, char *key) { int keyerror, childerr; - char keypath[256], childpath[256]; + char path[256]; char *str = NULL; - sprintf(keypath, "/cluster/%s/@*", key); - keyerror = ccs_get_list(ccs_fd, keypath, &str); + sprintf(path, "/cluster/%s/@*", key); + keyerror = ccs_get_list(ccs_fd, path, &str); if(str) free(str); - sprintf(childpath, "/cluster/%s/child::*", key); - childerr = ccs_get_list(ccs_fd, childpath, &str); + sprintf(path, "/cluster/%s/child::*", key); + childerr = ccs_get_list(ccs_fd, path, &str); if(str) free(str); hooks/post-receive -- Cluster Project