The branch, 2.5 has been updated
       via  31a4dde35d9037fe1bc48128186619b820358e8b (commit)
      from  a89f6a073d0d780ac8336c202b7b8f7179aa8d35 (commit)

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


- Log -----------------------------------------------------------------
commit 31a4dde35d9037fe1bc48128186619b820358e8b
Author: Michael Adam <ob...@samba.org>
Date:   Thu Jun 5 12:48:03 2014 +0200

    server: fix DEBUG message for wrong event script options.
    
    Signed-off-by: Michael Adam <ob...@samba.org>
    Reviewed-by: Amitay Isaacs <ami...@gmail.com>
    
    Autobuild-User(master): Amitay Isaacs <ami...@samba.org>
    Autobuild-Date(master): Thu Jun  5 19:51:36 CEST 2014 on sn-devel-104
    
    (Imported from commit 4811cbea933c3665a08f9f0b37ad43afeace2b6c)

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

Summary of changes:
 server/eventscript.c |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)


Changeset truncated at 500 lines:

diff --git a/server/eventscript.c b/server/eventscript.c
index bf95b21..a108b78 100644
--- a/server/eventscript.c
+++ b/server/eventscript.c
@@ -754,8 +754,9 @@ static int ctdb_event_script_callback_v(struct ctdb_context 
*ctdb,
                return -1;
        }
        if (!check_options(state->call, state->options)) {
-               DEBUG(DEBUG_ERR, ("Bad eventscript options '%s' for %s\n",
-                                 ctdb_eventscript_call_names[state->call], 
state->options));
+               DEBUG(DEBUG_ERR, ("Bad eventscript options '%s' for '%s'\n",
+                                 state->options,
+                                 ctdb_eventscript_call_names[state->call]));
                talloc_free(state);
                return -1;
        }


-- 
CTDB repository

Reply via email to