[Cluster-devel] Cluster Project branch, master, updated. gfs-kernel_0_1_22-92-g99a0f20

fabbione at sourceware.org fabbione at sourceware.org
Fri Mar 21 04:12:55 UTC 2008


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=99a0f20cc084fbf5be602db8be24b67a1e9ab6ac

The branch, master has been updated
       via  99a0f20cc084fbf5be602db8be24b67a1e9ab6ac (commit)
      from  f61b7891dfeab418bd1a20a12f084e848df335fc (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 99a0f20cc084fbf5be602db8be24b67a1e9ab6ac
Author: Fabio M. Di Nitto <fabbione at fabbione.net>
Date:   Fri Mar 21 05:11:55 2008 +0100

    [CMAN] Fix building when -DDEBUG is not specified
    
    Signed-off-by: Fabio M. Di Nitto <fabbione at fabbione.net>

-----------------------------------------------------------------------

Summary of changes:
 cman/cman_tool/main.c  |    3 ++-
 cman/daemon/commands.c |    2 ++
 2 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/cman/cman_tool/main.c b/cman/cman_tool/main.c
index c916b7f..4ac0616 100644
--- a/cman/cman_tool/main.c
+++ b/cman/cman_tool/main.c
@@ -1061,8 +1061,9 @@ int main(int argc, char *argv[])
 	case OP_DUMP_OBJDB:
 		dump_objdb(&comline);
 		break;
-	}
 #endif
+	}
+
 	exit(EXIT_SUCCESS);
 }
 
diff --git a/cman/daemon/commands.c b/cman/daemon/commands.c
index 5cbc012..c15f1a7 100644
--- a/cman/daemon/commands.c
+++ b/cman/daemon/commands.c
@@ -1230,7 +1230,9 @@ int process_command(struct connection *con, int cmd, char *cmdbuf,
 	struct cl_version cnxman_version;
 	char *outbuf = *retbuf;
 	int value;
+#ifdef DEBUG
 	FILE *dumpfile;
+#endif
 
 	P_MEMB("command to process is %x\n", cmd);
 


hooks/post-receive
--
Cluster Project




More information about the Cluster-devel mailing list