Send Linux-ha-cvs mailing list submissions to
        linux-ha-cvs@lists.linux-ha.org

To subscribe or unsubscribe via the World Wide Web, visit
        http://lists.community.tummy.com/mailman/listinfo/linux-ha-cvs
or, via email, send a message with subject or body 'help' to
        [EMAIL PROTECTED]

You can reach the person managing the list at
        [EMAIL PROTECTED]

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Linux-ha-cvs digest..."


Today's Topics:

   1. Linux-HA CVS: crm by andrew from 
      (linux-ha-cvs@lists.linux-ha.org)
   2. Linux-HA CVS: mgmt by zhenh from 
      (linux-ha-cvs@lists.linux-ha.org)


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

Message: 1
Date: Sun, 20 Aug 2006 04:54:57 -0600 (MDT)
From: linux-ha-cvs@lists.linux-ha.org
Subject: [Linux-ha-cvs] Linux-HA CVS: crm by andrew from 
To: [EMAIL PROTECTED]
Message-ID: <[EMAIL PROTECTED]>

linux-ha CVS committal

Author  : andrew
Host    : 
Project : linux-ha
Module  : crm

Dir     : linux-ha/crm/admin


Modified Files:
        crm_verify.c 


Log Message:
Stop BEAM complaining and just use an int instead of the enum type.

===================================================================
RCS file: /home/cvs/linux-ha/linux-ha/crm/admin/crm_verify.c,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -3 -r1.19 -r1.20
--- crm_verify.c        14 Aug 2006 09:06:31 -0000      1.19
+++ crm_verify.c        20 Aug 2006 10:54:57 -0000      1.20
@@ -1,4 +1,4 @@
-/* $Id: crm_verify.c,v 1.19 2006/08/14 09:06:31 andrew Exp $ */
+/* $Id: crm_verify.c,v 1.20 2006/08/20 10:54:57 andrew Exp $ */
 
 /* 
  * Copyright (C) 2004 Andrew Beekhof <[EMAIL PROTECTED]>
@@ -63,7 +63,7 @@
                
        pe_working_set_t data_set;
        cib_t * cib_conn = NULL;
-       enum cib_errors rc = cib_ok;
+       int rc = cib_ok;
        
        const char *xml_file = NULL;
        crm_system_name = basename(argv[0]);




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

Message: 2
Date: Sun, 20 Aug 2006 05:40:45 -0600 (MDT)
From: linux-ha-cvs@lists.linux-ha.org
Subject: [Linux-ha-cvs] Linux-HA CVS: mgmt by zhenh from 
To: [EMAIL PROTECTED]
Message-ID: <[EMAIL PROTECTED]>

linux-ha CVS committal

Author  : zhenh
Host    : 
Project : linux-ha
Module  : mgmt

Dir     : linux-ha/mgmt/daemon


Modified Files:
        mgmt_lrm.c 


Log Message:
fix a memory leak bug, found by BEAM
===================================================================
RCS file: /home/cvs/linux-ha/linux-ha/mgmt/daemon/mgmt_lrm.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -3 -r1.4 -r1.5
--- mgmt_lrm.c  29 Mar 2006 01:31:09 -0000      1.4
+++ mgmt_lrm.c  20 Aug 2006 11:40:44 -0000      1.5
@@ -105,10 +105,11 @@
        
        GList* types;
        GList* cur;
-       char* ret = cl_strdup(MSG_OK);
+       char* ret;
 
        ARGC_CHECK(2)
-
+       
+       ret = cl_strdup(MSG_OK);
        types = lrm->lrm_ops->get_rsc_type_supported(lrm, argv[1]);
        cur = types;
        while (cur != NULL) {




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

_______________________________________________
Linux-ha-cvs mailing list
Linux-ha-cvs@lists.linux-ha.org
http://lists.community.tummy.com/mailman/listinfo/linux-ha-cvs


End of Linux-ha-cvs Digest, Vol 33, Issue 82
********************************************

Reply via email to