The branch, master has been updated
       via  e577a276900854622f4e9da9d1ccd7b484d0d1ec (commit)
      from  bbd46f341e9aa32d8dbd49f7a9a07cb3f1f92ea3 (commit)

http://gitweb.samba.org/?p=sahlberg/ctdb.git;a=shortlog;h=master


- Log -----------------------------------------------------------------
commit e577a276900854622f4e9da9d1ccd7b484d0d1ec
Author: root <[EMAIL PROTECTED]>
Date:   Fri Nov 28 11:29:43 2008 +1100

    debuglevel is a signed int, not usnigned.

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

Summary of changes:
 tools/ctdb.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)


Changeset truncated at 500 lines:

diff --git a/tools/ctdb.c b/tools/ctdb.c
index c4932c2..63fba20 100644
--- a/tools/ctdb.c
+++ b/tools/ctdb.c
@@ -1845,7 +1845,7 @@ static int control_getdebug(struct ctdb_context *ctdb, 
int argc, const char **ar
 static int control_setdebug(struct ctdb_context *ctdb, int argc, const char 
**argv)
 {
        int ret;
-       uint32_t level;
+       int32_t level;
 
        if (argc < 1) {
                usage();
@@ -1854,7 +1854,7 @@ static int control_setdebug(struct ctdb_context *ctdb, 
int argc, const char **ar
        if (isalpha(argv[0][0])) { 
                level = get_debug_by_desc(argv[0]);
        } else {
-               level = strtoul(argv[0], NULL, 0);
+               level = strtol(argv[0], NULL, 0);
        }
 
        ret = ctdb_ctrl_set_debuglevel(ctdb, options.pnn, level);


-- 
CTDB repository

Reply via email to